Commit 3c0a6163688b8ca3f44029c7bdb3d91a865c878a

Authored by Al Viro
1 parent de9b942202

unobfuscate follow_up() a bit

really convoluted test in there has grown up during struct mount
introduction; what it checks is that we'd reached the root of
mount tree.

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -722,7 +722,7 @@
722 722  
723 723 br_read_lock(&vfsmount_lock);
724 724 parent = mnt->mnt_parent;
725   - if (&parent->mnt == path->mnt) {
  725 + if (parent == mnt) {
726 726 br_read_unlock(&vfsmount_lock);
727 727 return 0;
728 728 }