diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-12-11 12:35:13 +0100 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2018-01-29 12:42:20 +0100 |
commit | 317bc9478000b859a683564649d4937ca69c25d4 (patch) | |
tree | ffb1d3e2fc3635933d219f00b151977b6dc7d575 /fs/exofs/super.c | |
parent | btrfs: convert to new i_version API (diff) | |
download | linux-317bc9478000b859a683564649d4937ca69c25d4.tar.xz linux-317bc9478000b859a683564649d4937ca69c25d4.zip |
exofs: switch to new i_version API
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/exofs/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/exofs/super.c b/fs/exofs/super.c index 819624cfc8da..7e244093c0e5 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c @@ -38,6 +38,7 @@ #include <linux/module.h> #include <linux/exportfs.h> #include <linux/slab.h> +#include <linux/iversion.h> #include "exofs.h" @@ -159,7 +160,7 @@ static struct inode *exofs_alloc_inode(struct super_block *sb) if (!oi) return NULL; - oi->vfs_inode.i_version = 1; + inode_set_iversion(&oi->vfs_inode, 1); return &oi->vfs_inode; } |