diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-12-11 14:35:09 +0300 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2018-01-29 14:42:20 +0300 |
commit | 2489dbabea80e8c075eb01bf195d8bb0b1440dd2 (patch) | |
tree | f4698270eff79f02ec615024ea2deb51eb227188 /fs/fat/dir.c | |
parent | 7594c461161745f0d38a4346d4f895e0837b8094 (diff) | |
download | linux-2489dbabea80e8c075eb01bf195d8bb0b1440dd2.tar.xz |
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.c | 3 |
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) { /* |