There was an error fetching the commit references. Please try again later.
xfs: Propagate dentry down to inode_change_ok()
To avoid clearing of capabilities or security related extended attributes too early, inode_change_ok() will need to take dentry instead of inode. Propagate dentry down to functions calling inode_change_ok(). This is rather straightforward except for xfs_set_mode() function which does not have dentry easily available. Luckily that function does not call inode_change_ok() anyway so we just have to do a little dance with function prototypes. Acked-by:Dave Chinner <dchinner@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Jan Kara <jack@suse.cz>
Showing
- fs/xfs/xfs_file.c 1 addition, 1 deletionfs/xfs/xfs_file.c
- fs/xfs/xfs_inode.c 1 addition, 1 deletionfs/xfs/xfs_inode.c
- fs/xfs/xfs_ioctl.c 1 addition, 1 deletionfs/xfs/xfs_ioctl.c
- fs/xfs/xfs_iops.c 63 additions, 31 deletionsfs/xfs/xfs_iops.c
- fs/xfs/xfs_iops.h 2 additions, 1 deletionfs/xfs/xfs_iops.h
Please register or sign in to comment