diff options
author | Namjae Jeon | 2022-02-24 11:03:41 +0900 |
---|---|---|
committer | Steve French | 2022-04-14 20:56:13 -0500 |
commit | 50f500b7f6335404b18bbffa93e3a905a08d061a (patch) | |
tree | 2b0c2fb9d19cd467acd02ade9bb8ab58e2cd8983 /fs/ksmbd/vfs_cache.h | |
parent | ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e (diff) |
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>
Diffstat (limited to 'fs/ksmbd/vfs_cache.h')
-rw-r--r-- | fs/ksmbd/vfs_cache.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ksmbd/vfs_cache.h b/fs/ksmbd/vfs_cache.h index 36239ce31afd..fcb13413fa8d 100644 --- a/fs/ksmbd/vfs_cache.h +++ b/fs/ksmbd/vfs_cache.h @@ -62,7 +62,6 @@ struct ksmbd_inode { struct ksmbd_file { struct file *filp; - char *filename; u64 persistent_id; u64 volatile_id; |