Skip to contentSkip to conversation

smb: server: fix comment for ksmbd_vfs_kern_path_start_removing()

PATCH Applied Stefan Metzmacher 2 participants 2 messages Jan 19 – Jan 20

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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]>
---
 fs/smb/server/vfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/smb/server/vfs.c +1 -1
index f891344bd76b..b8e648b8300f 100644
@@ -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
maintainer Applied
#1 lore raw
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]>

Applied it to #ksmbd-for-next-next.
Thanks!