VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2011-11-24 22:37:54 -0500 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-01-03 22:57:05 -0500 commit: 83adc7532229f1909cf37c429780f02f06fe05ee parent: a73324da7af4052e1d1ddec6a5980f552420e58b
Commit Summary:
vfs: spread struct mount - work with counters
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/pnode.c b/fs/pnode.c
index bd280200bd37..50fdb29eebfe 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -274,7 +274,7 @@ out:
  */
 static inline int do_refcount_check(struct mount *mnt, int count)
 {
-	int mycount = mnt_get_count(&mnt->mnt) - mnt->mnt.mnt_ghosts;
+	int mycount = mnt_get_count(mnt) - mnt->mnt.mnt_ghosts;
 	return (mycount > count);
 }