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
Merge branches 'release' and 'dmi' into release
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
fs
/
hfsplus
/
ioctl.c
diff --git
a/fs/hfsplus/ioctl.c
b/fs/hfsplus/ioctl.c
index
79fd104
..
b60c0af
100644
(file)
--- a/
fs/hfsplus/ioctl.c
+++ b/
fs/hfsplus/ioctl.c
@@
-38,7
+38,7
@@
int hfsplus_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
if (IS_RDONLY(inode))
return -EROFS;
- if (
(current->fsuid != inode->i_uid) && !capable(CAP_FOWNER
))
+ if (
!is_owner_or_cap(inode
))
return -EACCES;
if (get_user(flags, (int __user *)arg))