summaryrefslogtreecommitdiffstats
path: root/fs/affs/dir.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-02-07 14:25:22 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-07 14:25:22 -0800
commit6fbac201f95c03e4dbbd207caddaea8a00a78526 (patch)
treef13d00e4cc6da481de74063c44cb53387c8cc0e8 /fs/affs/dir.c
parentfe803f862804065af4f856764cd85cafa01fe794 (diff)
parentc472c07bfed9c87d7e0b2c052d7e77fedd7109a9 (diff)
downloadlinux-6fbac201f95c03e4dbbd207caddaea8a00a78526.tar.bz2
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/affs/dir.c')
-rw-r--r--fs/affs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/dir.c b/fs/affs/dir.c
index d180b46453cf..b2bf7016e1b3 100644
--- a/fs/affs/dir.c
+++ b/fs/affs/dir.c
@@ -81,7 +81,7 @@ affs_readdir(struct file *file, struct dir_context *ctx)
* we can jump directly to where we left off.
*/
ino = (u32)(long)file->private_data;
- if (ino && inode_cmp_iversion(inode, file->f_version) == 0) {
+ if (ino && inode_eq_iversion(inode, file->f_version)) {
pr_debug("readdir() left off=%d\n", ino);
goto inside;
}