diff options
author | Hyunchul Lee <hyc.lee@gmail.com> | 2021-06-23 13:48:24 +0900 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-28 16:28:41 +0900 |
commit | 6c5e36d13e2a338ed611d2bcc6c615dd0550b17d (patch) | |
tree | 3b9d45d6412b8fe8ad727b118122804b73a1cb80 /fs/ksmbd/vfs.h | |
parent | 333111a6dc32a2768f581876bdb5ef4231f5084e (diff) | |
download | lwn-6c5e36d13e2a338ed611d2bcc6c615dd0550b17d.tar.gz lwn-6c5e36d13e2a338ed611d2bcc6c615dd0550b17d.zip |
ksmbd: set MAY_* flags together with open flags
set MAY_* flags together with open flags and
remove ksmbd_vfs_inode_permission().
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/vfs.h')
-rw-r--r-- | fs/ksmbd/vfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ksmbd/vfs.h b/fs/ksmbd/vfs.h index 49f0558ace32..ae8eff1f0315 100644 --- a/fs/ksmbd/vfs.h +++ b/fs/ksmbd/vfs.h @@ -192,8 +192,7 @@ struct ksmbd_kstat { __le32 file_attributes; }; -int ksmbd_vfs_inode_permission(struct dentry *dentry, int acc_mode, - bool delete); +int ksmbd_vfs_may_delete(struct dentry *dentry); int ksmbd_vfs_query_maximal_access(struct dentry *dentry, __le32 *daccess); int ksmbd_vfs_create(struct ksmbd_work *work, const char *name, umode_t mode); int ksmbd_vfs_mkdir(struct ksmbd_work *work, const char *name, umode_t mode); |