summaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 62acffd58..455c4af6e 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -489,10 +489,10 @@ static struct inode * find_inode(struct super_block * sb, unsigned long ino, str
if (tmp == head)
break;
inode = list_entry(tmp, struct inode, i_hash);
- if (inode->i_sb != sb)
- continue;
if (inode->i_ino != ino)
continue;
+ if (inode->i_sb != sb)
+ continue;
if (find_actor && !find_actor(inode, ino, opaque))
continue;
break;