]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ext4/mballoc.h
ext4: Don't allow new groups to be added during block allocation
[mirror_ubuntu-artful-kernel.git] / fs / ext4 / mballoc.h
index 95d4c7f29a8a686f67c8f35191729840e15033d6..10a2921baf14c986c809a8746fb4b90d3a7f8fbe 100644 (file)
@@ -195,6 +195,11 @@ struct ext4_allocation_context {
        __u8 ac_op;             /* operation, for history only */
        struct page *ac_bitmap_page;
        struct page *ac_buddy_page;
+       /*
+        * pointer to the held semaphore upon successful
+        * block allocation
+        */
+       struct rw_semaphore *alloc_semp;
        struct ext4_prealloc_space *ac_pa;
        struct ext4_locality_group *ac_lg;
 };