commit | aba809cf0944fdc5a83ef8b5864cdce2a99b2513 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Sep 28 23:10:55 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 24 23:34:58 2013 -0400 |
tree | ea958e25bc153d0075933b8258723a3182ad2cec | |
parent | 9559f68915024ece8be3781003f25aef3677e574 [diff] [blame] |
namespace.c: get rid of mnt_ghosts Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/pnode.c b/fs/pnode.c index 9af0df1..3cfd48c 100644 --- a/fs/pnode.c +++ b/fs/pnode.c
@@ -278,8 +278,7 @@ */ 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; } /*