diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-07 17:25:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-07 17:25:22 -0500 |
commit | 6fbac201f95c03e4dbbd207caddaea8a00a78526 (patch) | |
tree | f13d00e4cc6da481de74063c44cb53387c8cc0e8 /fs/ext4/inline.c | |
parent | fe803f862804065af4f856764cd85cafa01fe794 (diff) | |
parent | c472c07bfed9c87d7e0b2c052d7e77fedd7109a9 (diff) |
Merge tag 'iversion-v4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux
Pull inode->i_version cleanup from Jeff Layton:
"Goffredo went ahead and sent a patch to rename this function, and
reverse its sense, as we discussed last week.
The patch is very straightforward and I figure it's probably best to
go ahead and merge this to get the API as settled as possible"
* tag 'iversion-v4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux:
iversion: Rename make inode_cmp_iversion{+raw} to inode_eq_iversion{+raw}
Diffstat (limited to 'fs/ext4/inline.c')
-rw-r--r-- | fs/ext4/inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index 7c4165b88505..70cf4c7b268a 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c | |||
@@ -1487,7 +1487,7 @@ int ext4_read_inline_dir(struct file *file, | |||
1487 | * dirent right now. Scan from the start of the inline | 1487 | * dirent right now. Scan from the start of the inline |
1488 | * dir to make sure. | 1488 | * dir to make sure. |
1489 | */ | 1489 | */ |
1490 | if (inode_cmp_iversion(inode, file->f_version)) { | 1490 | if (!inode_eq_iversion(inode, file->f_version)) { |
1491 | for (i = 0; i < extra_size && i < offset;) { | 1491 | for (i = 0; i < extra_size && i < offset;) { |
1492 | /* | 1492 | /* |
1493 | * "." is with offset 0 and | 1493 | * "." is with offset 0 and |