VFS: normal filesystems (and lustre): d_inode() annotations
[deliverable/linux.git] / fs / afs / super.c
index 7c31ec39957587a59062b3f81dd338aa57e575aa..1fb4a5129f7dfc0007dfa52f287ca03766feeff0 100644 (file)
@@ -45,6 +45,7 @@ struct file_system_type afs_fs_type = {
        .kill_sb        = afs_kill_super,
        .fs_flags       = 0,
 };
+MODULE_ALIAS_FS("afs");
 
 static const struct super_operations afs_super_ops = {
        .statfs         = afs_statfs,
@@ -528,7 +529,7 @@ static void afs_destroy_inode(struct inode *inode)
 static int afs_statfs(struct dentry *dentry, struct kstatfs *buf)
 {
        struct afs_volume_status vs;
-       struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode);
+       struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry));
        struct key *key;
        int ret;
 
This page took 0.039795 seconds and 5 git commands to generate.