aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs
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/befs
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/befs')
-rw-r--r--fs/befs/linuxvfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index e089f1985fca..d3cb8774765f 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -472,7 +472,7 @@ static void *
472befs_follow_link(struct dentry *dentry, struct nameidata *nd) 472befs_follow_link(struct dentry *dentry, struct nameidata *nd)
473{ 473{
474 struct super_block *sb = dentry->d_sb; 474 struct super_block *sb = dentry->d_sb;
475 befs_inode_info *befs_ino = BEFS_I(dentry->d_inode); 475 befs_inode_info *befs_ino = BEFS_I(d_inode(dentry));
476 befs_data_stream *data = &befs_ino->i_data.ds; 476 befs_data_stream *data = &befs_ino->i_data.ds;
477 befs_off_t len = data->size; 477 befs_off_t len = data->size;
478 char *link; 478 char *link;
@@ -502,7 +502,7 @@ befs_follow_link(struct dentry *dentry, struct nameidata *nd)
502static void * 502static void *
503befs_fast_follow_link(struct dentry *dentry, struct nameidata *nd) 503befs_fast_follow_link(struct dentry *dentry, struct nameidata *nd)
504{ 504{
505 befs_inode_info *befs_ino = BEFS_I(dentry->d_inode); 505 befs_inode_info *befs_ino = BEFS_I(d_inode(dentry));
506 nd_set_link(nd, befs_ino->i_data.symlink); 506 nd_set_link(nd, befs_ino->i_data.symlink);
507 return NULL; 507 return NULL;
508} 508}