aboutsummaryrefslogtreecommitdiffstats
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 bd280200bd37..50fdb29eebfe 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -274,7 +274,7 @@ out:
274 */ 274 */
275static inline int do_refcount_check(struct mount *mnt, int count) 275static inline int do_refcount_check(struct mount *mnt, int count)
276{ 276{
277 int mycount = mnt_get_count(&mnt->mnt) - mnt->mnt.mnt_ghosts; 277 int mycount = mnt_get_count(mnt) - mnt->mnt.mnt_ghosts;
278 return (mycount > count); 278 return (mycount > count);
279} 279}
280 280