Skip to content

Commit

Permalink
ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
namjaejeon authored and Steve French committed Sep 13, 2023
1 parent 0bb80ec commit e4e1409
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/smb/server/smbacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e4e1409

Please sign in to comment.