summaryrefslogtreecommitdiff
path: root/fs/smb/server
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-09-12 17:28:25 +0300
committerSteve French <stfrench@microsoft.com>2023-09-13 18:21:05 +0300
commite4e14095cc68a2efefba6f77d95efe1137e751d4 (patch)
treeec77db745fbc2ac7ac051f829800bf8d1aeb427a /fs/smb/server
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-e4e14095cc68a2efefba6f77d95efe1137e751d4.tar.xz
ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
mark_inode_dirty will be called in notify_change(). This patch remove unneeded mark_inode_dirty in set_info_sec(). Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/server')
-rw-r--r--fs/smb/server/smbacl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/server/smbacl.c b/fs/smb/server/smbacl.c
index e5e438bf5499..6c0305be895e 100644
--- a/fs/smb/server/smbacl.c
+++ b/fs/smb/server/smbacl.c
@@ -1420,7 +1420,6 @@ int set_info_sec(struct ksmbd_conn *conn, struct ksmbd_tree_connect *tcon,
out:
posix_acl_release(fattr.cf_acls);
posix_acl_release(fattr.cf_dacls);
- mark_inode_dirty(inode);
return rc;
}