projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull dock-bay into release branch
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
fs
/
ocfs2
/
ioctl.c
diff --git
a/fs/ocfs2/ioctl.c
b/fs/ocfs2/ioctl.c
index
bd68c3f
..
87dcece
100644
(file)
--- a/
fs/ocfs2/ioctl.c
+++ b/
fs/ocfs2/ioctl.c
@@
-63,7
+63,7
@@
static int ocfs2_set_inode_attr(struct inode *inode, unsigned flags,
goto bail_unlock;
status = -EACCES;
- if (
(current->fsuid != inode->i_uid) && !capable(CAP_FOWNER
))
+ if (
!is_owner_or_cap(inode
))
goto bail_unlock;
if (!S_ISDIR(inode->i_mode))