projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs,userns: Change inode_capable to capable_wrt_inode_uidgid
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
xfs
/
xfs_ioctl.c
diff --git
a/fs/xfs/xfs_ioctl.c
b/fs/xfs/xfs_ioctl.c
index
bcfe612
..
78e62cc
100644
(file)
--- a/
fs/xfs/xfs_ioctl.c
+++ b/
fs/xfs/xfs_ioctl.c
@@
-1241,7
+1241,7
@@
xfs_ioctl_setattr(
* cleared upon successful return from chown()
*/
if ((ip->i_d.di_mode & (S_ISUID|S_ISGID)) &&
- !
inode_capable
(VFS_I(ip), CAP_FSETID))
+ !
capable_wrt_inode_uidgid
(VFS_I(ip), CAP_FSETID))
ip->i_d.di_mode &= ~(S_ISUID|S_ISGID);
/*