projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'xfs-for-linus-3.16-rc1' of git://oss.sgi.com/xfs/xfs
[linux-2.6-block.git]
/
fs
/
xfs
/
xfs_ioctl.c
diff --git
a/fs/xfs/xfs_ioctl.c
b/fs/xfs/xfs_ioctl.c
index 55724c8b204b901f695d7a11714cdbc13bc67f50..8bc1bbce74517c95675dc661412e946e456fedbe 100644
(file)
--- a/
fs/xfs/xfs_ioctl.c
+++ b/
fs/xfs/xfs_ioctl.c
@@
-1216,7
+1216,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);
/*