Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5242d422 authored by Al Viro's avatar Al Viro
Browse files

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 97bf6af1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ int ll_md_blocking_ast(struct ldlm_lock *lock, struct ldlm_lock_desc *desc,

		if ((bits & (MDS_INODELOCK_LOOKUP | MDS_INODELOCK_PERM)) &&
		    inode->i_sb->s_root != NULL &&
		    is_root_inode(inode))
		    !is_root_inode(inode))
			ll_invalidate_aliases(inode);

		iput(inode);