summaryrefslogtreecommitdiff
path: root/fs/affs/dir.c
diff options
context:
space:
mode:
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;
}