summaryrefslogtreecommitdiffstats
path: root/fs/affs/super.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-12-11 06:35:10 -0500
committerJeff Layton <jlayton@redhat.com>2018-01-29 06:42:20 -0500
commit9dffe569d942a57cfd27ee961f8fb6facc6ba86a (patch)
treec78fd82da99e3867637dd45e193097d927c1a807 /fs/affs/super.c
parent2489dbabea80e8c075eb01bf195d8bb0b1440dd2 (diff)
downloadlinux-9dffe569d942a57cfd27ee961f8fb6facc6ba86a.tar.gz
linux-9dffe569d942a57cfd27ee961f8fb6facc6ba86a.tar.bz2
linux-9dffe569d942a57cfd27ee961f8fb6facc6ba86a.zip
affs: convert to new i_version API
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/affs/super.c')
-rw-r--r--fs/affs/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c
index 1117e36134cc..e602619aed9d 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -21,6 +21,7 @@
#include <linux/writeback.h>
#include <linux/blkdev.h>
#include <linux/seq_file.h>
+#include <linux/iversion.h>
#include "affs.h"
static int affs_statfs(struct dentry *dentry, struct kstatfs *buf);
@@ -102,7 +103,7 @@ static struct inode *affs_alloc_inode(struct super_block *sb)
if (!i)
return NULL;
- i->vfs_inode.i_version = 1;
+ inode_set_iversion(&i->vfs_inode, 1);
i->i_lc = NULL;
i->i_ext_bh = NULL;
i->i_pa_cnt = 0;