From 94413e8eaa45c60e17b84b11ca90bdfecb7d9101 Mon Sep 17 00:00:00 2001 From: Namjae Jeon Date: Fri, 8 Sep 2023 23:26:11 +0900 Subject: [PATCH] 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 --- smbacl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/smbacl.c b/smbacl.c index b16f7f288..b888ab9c8 100644 --- a/smbacl.c +++ b/smbacl.c @@ -1632,7 +1632,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; }