]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/mount.h
mnt: Add a per mount namespace limit on the number of mounts
[mirror_ubuntu-zesty-kernel.git] / fs / mount.h
index e037981d8351657d94a987010d45418c2f488bff..d2e25d7b64b3073c28f37a339b31ac75d275c6f4 100644 (file)
@@ -14,6 +14,8 @@ struct mnt_namespace {
        u64                     seq;    /* Sequence number to prevent loops */
        wait_queue_head_t poll;
        u64 event;
+       unsigned int            mounts; /* # of mounts in the namespace */
+       unsigned int            pending_mounts;
 };
 
 struct mnt_pcp {