smb: server: fix comment for ksmbd_vfs_kern_path_start_removing()
Subsystems (2)
PATCH 1/1 smb: server: fix comment for ksmbd_vfs_kern_path_start_removing()
This was found by sparse...
Fixes 1ead2213dd7d ("smb/server: use end_removing_noperm for for target of smb2_create_link()")
Cc Namjae Jeon <[email protected]>
Cc Steve French <[email protected]>
Cc Tom Talpey <[email protected]>
Cc NeilBrown <[email protected]>
Cc Christian Brauner <[email protected]>
Signed-off-by Stefan Metzmacher <[email protected]>
--- fs/smb/server/vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/smb/server/vfs.c +1 -1
@@ -1227,7 +1227,7 @@ int ksmbd_vfs_kern_path(struct ksmbd_work *work, char *filepath, }/** -* ksmbd_vfs_kern_path_start_remove() - lookup a file and get path info prior to removal +* ksmbd_vfs_kern_path_start_removing() - lookup a file and get path info prior to removal * @work: work * @filepath: file path that is relative to share * @flags: lookup flags
Signature · 1 line
2.43.0
Quoted 12 lines · Stefan Metzmacher
This was found by sparse...
Fixes 1ead2213dd7d ("smb/server: use end_removing_noperm for for target of smb2_create_link()")Cc Namjae Jeon <[email protected]>Cc Steve French <[email protected]>Cc Tom Talpey <[email protected]>Cc NeilBrown <[email protected]>Cc Christian Brauner <[email protected]>Signed-off-by Stefan Metzmacher <[email protected]>
Applied it to #ksmbd-for-next-next.
Thanks!