Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[deliverable/linux.git] / fs / pnode.c
index 05ba692bc540ade3b63c5f5af72e1987556bd9fe..1d8f5447f3f7c533bc848883694bf7656428a64b 100644 (file)
@@ -225,7 +225,7 @@ out:
  */
 static inline int do_refcount_check(struct vfsmount *mnt, int count)
 {
-       int mycount = atomic_read(&mnt->mnt_count);
+       int mycount = atomic_read(&mnt->mnt_count) - mnt->mnt_ghosts;
        return (mycount > count);
 }
 
This page took 0.028665 seconds and 5 git commands to generate.