aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/acl.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-03-17 18:25:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-15 15:06:57 -0400
commit2b0143b5c986be1ce8408b3aadc4709e0a94429d (patch)
tree98b1dee70f3d5d9ac9309f4638e41864ddcd0952 /fs/9p/acl.c
parentce0b16ddf18df35026164fda4a642ef10c01f442 (diff)
VFS: normal filesystems (and lustre): d_inode() annotations
that's the bulk of filesystem drivers dealing with inodes of their own Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/acl.c')
-rw-r--r--fs/9p/acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index 8482f2d11606..31c010372660 100644
--- a/fs/9p/acl.c
+++ b/fs/9p/acl.c
@@ -247,7 +247,7 @@ static int v9fs_xattr_get_acl(struct dentry *dentry, const char *name,
247 if ((v9ses->flags & V9FS_ACCESS_MASK) != V9FS_ACCESS_CLIENT) 247 if ((v9ses->flags & V9FS_ACCESS_MASK) != V9FS_ACCESS_CLIENT)
248 return v9fs_remote_get_acl(dentry, name, buffer, size, type); 248 return v9fs_remote_get_acl(dentry, name, buffer, size, type);
249 249
250 acl = v9fs_get_cached_acl(dentry->d_inode, type); 250 acl = v9fs_get_cached_acl(d_inode(dentry), type);
251 if (IS_ERR(acl)) 251 if (IS_ERR(acl))
252 return PTR_ERR(acl); 252 return PTR_ERR(acl);
253 if (acl == NULL) 253 if (acl == NULL)
@@ -285,7 +285,7 @@ static int v9fs_xattr_set_acl(struct dentry *dentry, const char *name,
285 int retval; 285 int retval;
286 struct posix_acl *acl; 286 struct posix_acl *acl;
287 struct v9fs_session_info *v9ses; 287 struct v9fs_session_info *v9ses;
288 struct inode *inode = dentry->d_inode; 288 struct inode *inode = d_inode(dentry);
289 289
290 if (strcmp(name, "") != 0) 290 if (strcmp(name, "") != 0)
291 return -EINVAL; 291 return -EINVAL;