Re: [PATCH] ksmbd: clear RENAME_NOREPLACE before calling vfs_rename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 13, 2024 at 2:07 PM Marios Makassikis
<mmakassikis@xxxxxxxxxx> wrote:
>
> File overwrite case is explicitly handled, so it is not necessary to
> pass RENAME_NOREPLACE to vfs_rename.
>
> Clearing the flag fixes rename operations when the share is a ntfs-3g
> mount. The latter uses an older version of fuse with no support for
> flags in the ->rename op.
>
> Signed-off-by: Marios Makassikis <mmakassikis@xxxxxxxxxx>
> ---
>  fs/smb/server/vfs.c | 3 +++
>  1 file changed, 3 insertions(+)
>

Bumping this as I haven't received any feedback.
Are there any issues with the patch ?





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux