summaryrefslogtreecommitdiff
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-11-24 22:37:54 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:57:05 -0500
commit83adc7532229f1909cf37c429780f02f06fe05ee (patch)
tree7f7a36fea3f903c7f9c3f3860bc395a2ba7ad806 /fs/pnode.c
parenta73324da7af4052e1d1ddec6a5980f552420e58b (diff)
downloadlinux-3.10-83adc7532229f1909cf37c429780f02f06fe05ee.tar.gz
linux-3.10-83adc7532229f1909cf37c429780f02f06fe05ee.tar.bz2
linux-3.10-83adc7532229f1909cf37c429780f02f06fe05ee.zip
vfs: spread struct mount - work with counters
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 bd280200bd3..50fdb29eebf 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);
}