Skip to content
Unverified Commit 41191cf6 authored by Stefan Roesch's avatar Stefan Roesch Committed by Christian Brauner (Microsoft)
Browse files

fs: __file_remove_privs(): restore call to inode_has_no_xattr()



This restores the call to inode_has_no_xattr() in the function
__file_remove_privs(). In case the dentry_meeds_remove_privs() returned
0, the function inode_has_no_xattr() was not called.

Signed-off-by: default avatarStefan Roesch <shr@fb.com>
Fixes: faf99b56

 ("fs: add __remove_file_privs() with flags parameter")
Reviewed-by: default avatarChristian Brauner (Microsoft) <brauner@kernel.org>
Link: https://lore.kernel.org/r/20220816153158.1925040-1-shr@fb.com
Signed-off-by: default avatarChristian Brauner (Microsoft) <brauner@kernel.org>
parent 568035b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment