projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'iwlwifi-next-for-kalle-2015-06-03' of https://git.kernel.org/pub/scm/linux...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
posix_acl.c
diff --git
a/fs/posix_acl.c
b/fs/posix_acl.c
index 3a48bb789c9f3e4eb227214f72798b90c52af5dc..84bb65b835701365126833a9e74d9e5d7a8a6c00 100644
(file)
--- a/
fs/posix_acl.c
+++ b/
fs/posix_acl.c
@@
-774,12
+774,12
@@
posix_acl_xattr_get(struct dentry *dentry, const char *name,
struct posix_acl *acl;
int error;
struct posix_acl *acl;
int error;
- if (!IS_POSIXACL(d
entry->d_inode
))
+ if (!IS_POSIXACL(d
_backing_inode(dentry)
))
return -EOPNOTSUPP;
if (d_is_symlink(dentry))
return -EOPNOTSUPP;
return -EOPNOTSUPP;
if (d_is_symlink(dentry))
return -EOPNOTSUPP;
- acl = get_acl(d
entry->d_inode
, type);
+ acl = get_acl(d
_backing_inode(dentry)
, type);
if (IS_ERR(acl))
return PTR_ERR(acl);
if (acl == NULL)
if (IS_ERR(acl))
return PTR_ERR(acl);
if (acl == NULL)
@@
-795,7
+795,7
@@
static int
posix_acl_xattr_set(struct dentry *dentry, const char *name,
const void *value, size_t size, int flags, int type)
{
posix_acl_xattr_set(struct dentry *dentry, const char *name,
const void *value, size_t size, int flags, int type)
{
- struct inode *inode = d
entry->d_inode
;
+ struct inode *inode = d
_backing_inode(dentry)
;
struct posix_acl *acl = NULL;
int ret;
struct posix_acl *acl = NULL;
int ret;
@@
-834,7
+834,7
@@
posix_acl_xattr_list(struct dentry *dentry, char *list, size_t list_size,
const char *xname;
size_t size;
const char *xname;
size_t size;
- if (!IS_POSIXACL(d
entry->d_inode
))
+ if (!IS_POSIXACL(d
_backing_inode(dentry)
))
return -EOPNOTSUPP;
if (d_is_symlink(dentry))
return -EOPNOTSUPP;
return -EOPNOTSUPP;
if (d_is_symlink(dentry))
return -EOPNOTSUPP;