aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/xattr_trusted.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/xattr_trusted.c')
-rw-r--r--fs/jffs2/xattr_trusted.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/xattr_trusted.c b/fs/jffs2/xattr_trusted.c
index 1c868194c504..ceaf9c693225 100644
--- a/fs/jffs2/xattr_trusted.c
+++ b/fs/jffs2/xattr_trusted.c
@@ -21,7 +21,7 @@ static int jffs2_trusted_getxattr(struct dentry *dentry, const char *name,
21{ 21{
22 if (!strcmp(name, "")) 22 if (!strcmp(name, ""))
23 return -EINVAL; 23 return -EINVAL;
24 return do_jffs2_getxattr(dentry->d_inode, JFFS2_XPREFIX_TRUSTED, 24 return do_jffs2_getxattr(d_inode(dentry), JFFS2_XPREFIX_TRUSTED,
25 name, buffer, size); 25 name, buffer, size);
26} 26}
27 27
@@ -30,7 +30,7 @@ static int jffs2_trusted_setxattr(struct dentry *dentry, const char *name,
30{ 30{
31 if (!strcmp(name, "")) 31 if (!strcmp(name, ""))
32 return -EINVAL; 32 return -EINVAL;
33 return do_jffs2_setxattr(dentry->d_inode, JFFS2_XPREFIX_TRUSTED, 33 return do_jffs2_setxattr(d_inode(dentry), JFFS2_XPREFIX_TRUSTED,
34 name, buffer, size, flags); 34 name, buffer, size, flags);
35} 35}
36 36