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 <[email protected]>
  • Loading branch information
namjaejeon committed Sep 8, 2023
1 parent 96fca3a commit 94413e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion smbacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 94413e8

Please sign in to comment.