ksmbd: remove filename in ksmbd_file
authorNamjae Jeon <linkinjeon@kernel.org>
Thu, 24 Feb 2022 02:03:41 +0000 (11:03 +0900)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Apr 2022 01:56:13 +0000 (20:56 -0500)
commit50f500b7f6335404b18bbffa93e3a905a08d061a
tree2b0c2fb9d19cd467acd02ade9bb8ab58e2cd8983
parentce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
ksmbd: remove filename in ksmbd_file

If the filename is change by underlying rename the server, fp->filename
and real filename can be different. This patch remove the uses of
fp->filename in ksmbd and replace it with d_path().

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/misc.c
fs/ksmbd/misc.h
fs/ksmbd/oplock.c
fs/ksmbd/oplock.h
fs/ksmbd/smb2pdu.c
fs/ksmbd/vfs.c
fs/ksmbd/vfs_cache.c
fs/ksmbd/vfs_cache.h