Skip to content

Commit 5242d42

Browse files
author
Al Viro
committed
[regression] braino in "lustre: use is_root_inode()"
In one of the places (ll_md_blocking_ast()) we had open-coded !is_root_inode(inode) and replaced it with is_root_inode(inode). See the last chunk of f76c23: - inode != inode->i_sb->s_root->d_inode) + is_root_inode(inode)) should've been + !is_root_inode(inode)) obviously... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 97bf6af commit 5242d42

File tree

1 file changed

+1
-1
lines changed
  • drivers/staging/lustre/lustre/llite

1 file changed

+1
-1
lines changed

drivers/staging/lustre/lustre/llite/namei.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ int ll_md_blocking_ast(struct ldlm_lock *lock, struct ldlm_lock_desc *desc,
264264

265265
if ((bits & (MDS_INODELOCK_LOOKUP | MDS_INODELOCK_PERM)) &&
266266
inode->i_sb->s_root != NULL &&
267-
is_root_inode(inode))
267+
!is_root_inode(inode))
268268
ll_invalidate_aliases(inode);
269269

270270
iput(inode);

0 commit comments

Comments
 (0)