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-25 00:57:42 -0500 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-01-03 22:57:10 -0500 commit: 863d684f946eb240c7dd57d265d88315950ca5cc parent: 15169fe784a9846b24cdb0840329d41aebc23249
Commit Summary:
vfs: move the rest of int fields to struct mount
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/pnode.c b/fs/pnode.c
index 001c8b0df379..a40abf20f35e 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -272,7 +272,7 @@ out:
  */
 static inline int do_refcount_check(struct mount *mnt, int count)
 {
-	int mycount = mnt_get_count(mnt) - mnt->mnt.mnt_ghosts;
+	int mycount = mnt_get_count(mnt) - mnt->mnt_ghosts;
 	return (mycount > count);
 }