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 <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
namjaejeon authored and gregkh committed Dec 23, 2023
1 parent a9128c4 commit fbed0ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/ksmbd/smbacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,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 fbed0ad

Please sign in to comment.