summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/quota_global.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-12-11 12:35:17 +0100
committerJeff Layton <jlayton@redhat.com>2018-01-29 12:42:21 +0100
commitcc56c33e783fcd8ea0a84941cab4f919609b4835 (patch)
tree4eb8c2a0e0df626e117b64cd30f1e811cfe9424e /fs/ocfs2/quota_global.c
parentnfsd: convert to new i_version API (diff)
downloadlinux-cc56c33e783fcd8ea0a84941cab4f919609b4835.tar.xz
linux-cc56c33e783fcd8ea0a84941cab4f919609b4835.zip
ocfs2: convert to new i_version API
Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ocfs2/quota_global.c')
-rw-r--r--fs/ocfs2/quota_global.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/quota_global.c b/fs/ocfs2/quota_global.c
index b39d14cbfa34..7a922190a8c7 100644
--- a/fs/ocfs2/quota_global.c
+++ b/fs/ocfs2/quota_global.c
@@ -12,6 +12,7 @@
#include <linux/writeback.h>
#include <linux/workqueue.h>
#include <linux/llist.h>
+#include <linux/iversion.h>
#include <cluster/masklog.h>
@@ -289,7 +290,7 @@ out:
mlog_errno(err);
return err;
}
- gqinode->i_version++;
+ inode_inc_iversion(gqinode);
ocfs2_mark_inode_dirty(handle, gqinode, oinfo->dqi_gqi_bh);
return len;
}