diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-12-11 12:35:09 +0100 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2018-01-29 12:42:20 +0100 |
commit | 2489dbabea80e8c075eb01bf195d8bb0b1440dd2 (patch) | |
tree | f4698270eff79f02ec615024ea2deb51eb227188 /fs/fat/dir.c | |
parent | fs: don't take the i_lock in inode_inc_iversion (diff) | |
download | linux-2489dbabea80e8c075eb01bf195d8bb0b1440dd2.tar.xz linux-2489dbabea80e8c075eb01bf195d8bb0b1440dd2.zip |
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) { /* |