diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-12-11 06:35:17 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2018-01-29 06:42:21 -0500 |
commit | cc56c33e783fcd8ea0a84941cab4f919609b4835 (patch) | |
tree | 4eb8c2a0e0df626e117b64cd30f1e811cfe9424e /fs/ocfs2/quota_global.c | |
parent | 1f15a550f5f3e328b7693f664ae21f5a71a7a636 (diff) | |
download | linux-stable-cc56c33e783fcd8ea0a84941cab4f919609b4835.tar.gz linux-stable-cc56c33e783fcd8ea0a84941cab4f919609b4835.tar.bz2 linux-stable-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.c | 3 |
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; } |