summaryrefslogtreecommitdiffstats
path: root/fs/ufs/inode.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-12-11 12:35:18 +0100
committerJeff Layton <jlayton@redhat.com>2018-01-29 12:42:21 +0100
commitbb8c2d66bc6f7dd6e00fc25203efe0858cf91a5e (patch)
treedb9413cf84e355991c007f506ca0a8b4a862ee47 /fs/ufs/inode.c
parentocfs2: convert to new i_version API (diff)
downloadlinux-bb8c2d66bc6f7dd6e00fc25203efe0858cf91a5e.tar.xz
linux-bb8c2d66bc6f7dd6e00fc25203efe0858cf91a5e.zip
ufs: use new i_version API
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/ufs/inode.c')
-rw-r--r--fs/ufs/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index afb601c0dda0..c843ec858cf7 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -36,6 +36,7 @@
#include <linux/mm.h>
#include <linux/buffer_head.h>
#include <linux/writeback.h>
+#include <linux/iversion.h>
#include "ufs_fs.h"
#include "ufs.h"
@@ -693,7 +694,7 @@ struct inode *ufs_iget(struct super_block *sb, unsigned long ino)
if (err)
goto bad_inode;
- inode->i_version++;
+ inode_inc_iversion(inode);
ufsi->i_lastfrag =
(inode->i_size + uspi->s_fsize - 1) >> uspi->s_fshift;
ufsi->i_dir_start_lookup = 0;