summaryrefslogtreecommitdiffstats
path: root/fs/pnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/pnode.c')
-rw-r--r--fs/pnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pnode.c b/fs/pnode.c
index bd28020..50fdb29 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);
}
OpenPOWER on IntegriCloud