From aba809cf0944fdc5a83ef8b5864cdce2a99b2513 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 28 Sep 2013 23:10:55 -0400 Subject: namespace.c: get rid of mnt_ghosts Signed-off-by: Al Viro --- fs/pnode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fs/pnode.c') diff --git a/fs/pnode.c b/fs/pnode.c index 9af0df15256e..3cfd48cf887e 100644 --- a/fs/pnode.c +++ b/fs/pnode.c @@ -278,8 +278,7 @@ out: */ static inline int do_refcount_check(struct mount *mnt, int count) { - int mycount = mnt_get_count(mnt) - mnt->mnt_ghosts; - return (mycount > count); + return mnt_get_count(mnt) > count; } /* -- cgit