summaryrefslogtreecommitdiff
path: root/fs/fat/dir.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-12-11 06:35:09 -0500
committerJeff Layton <jlayton@redhat.com>2018-01-29 06:42:20 -0500
commit2489dbabea80e8c075eb01bf195d8bb0b1440dd2 (patch)
treef4698270eff79f02ec615024ea2deb51eb227188 /fs/fat/dir.c
parent7594c461161745f0d38a4346d4f895e0837b8094 (diff)
fat: convert to new i_version API
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/fat/dir.c')
-rw-r--r--fs/fat/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index b833ffeee1e1..8e100c3bf72c 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
@@ -16,6 +16,7 @@
#include <linux/slab.h>
#include <linux/compat.h>
#include <linux/uaccess.h>
+#include <linux/iversion.h>
#include "fat.h"
/*
@@ -1055,7 +1056,7 @@ int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo)
brelse(bh);
if (err)
return err;
- dir->i_version++;
+ inode_inc_iversion(dir);
if (nr_slots) {
/*