vfs: move the rest of int fields to struct mount
[linux-2.6-block.git] / fs / pnode.c
index 001c8b0df379feb11c147a03c8d5c07c1773d11e..a40abf20f35e42c78a24a828b92e0481b5338c4b 100644 (file)
@@ -272,7 +272,7 @@ out:
  */
 static inline int do_refcount_check(struct mount *mnt, int count)
 {
-       int mycount = mnt_get_count(mnt) - mnt->mnt.mnt_ghosts;
+       int mycount = mnt_get_count(mnt) - mnt->mnt_ghosts;
        return (mycount > count);
 }