diff options
author | David Howells <dhowells@redhat.com> | 2015-03-17 18:25:59 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-15 15:06:57 -0400 |
commit | 2b0143b5c986be1ce8408b3aadc4709e0a94429d (patch) | |
tree | 98b1dee70f3d5d9ac9309f4638e41864ddcd0952 /fs/ncpfs/inode.c | |
parent | ce0b16ddf18df35026164fda4a642ef10c01f442 (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/ncpfs/inode.c')
-rw-r--r-- | fs/ncpfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index 01a9e16e9782..9605a2f63549 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -812,7 +812,7 @@ static int ncp_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
812 | if (!d) { | 812 | if (!d) { |
813 | goto dflt; | 813 | goto dflt; |
814 | } | 814 | } |
815 | i = d->d_inode; | 815 | i = d_inode(d); |
816 | if (!i) { | 816 | if (!i) { |
817 | goto dflt; | 817 | goto dflt; |
818 | } | 818 | } |
@@ -865,7 +865,7 @@ dflt:; | |||
865 | 865 | ||
866 | int ncp_notify_change(struct dentry *dentry, struct iattr *attr) | 866 | int ncp_notify_change(struct dentry *dentry, struct iattr *attr) |
867 | { | 867 | { |
868 | struct inode *inode = dentry->d_inode; | 868 | struct inode *inode = d_inode(dentry); |
869 | int result = 0; | 869 | int result = 0; |
870 | __le32 info_mask; | 870 | __le32 info_mask; |
871 | struct nw_modify_dos_info info; | 871 | struct nw_modify_dos_info info; |
@@ -878,7 +878,7 @@ int ncp_notify_change(struct dentry *dentry, struct iattr *attr) | |||
878 | goto out; | 878 | goto out; |
879 | 879 | ||
880 | result = -EPERM; | 880 | result = -EPERM; |
881 | if (IS_DEADDIR(dentry->d_inode)) | 881 | if (IS_DEADDIR(d_inode(dentry))) |
882 | goto out; | 882 | goto out; |
883 | 883 | ||
884 | /* ageing the dentry to force validation */ | 884 | /* ageing the dentry to force validation */ |