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
[ Upstream commit e4e1409 ]

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]>
Signed-off-by: Steve French <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
namjaejeon authored and gregkh committed Jan 5, 2024
1 parent 1ee419e commit b4b3fd1
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 @@ -1443,7 +1443,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 b4b3fd1

Please sign in to comment.