]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - include/linux/fs.h
mm: fix assertion mapping->nrpages == 0 in end_writeback()
[~shefty/rdma-dev.git] / include / linux / fs.h
index 6e73e2e9ae33c5b7719f11fb303cee693dc1b043..b5b979247863718f10da2764b3eab280a3005e9f 100644 (file)
@@ -639,6 +639,7 @@ struct address_space {
        struct prio_tree_root   i_mmap;         /* tree of private and shared mappings */
        struct list_head        i_mmap_nonlinear;/*list VM_NONLINEAR mappings */
        struct mutex            i_mmap_mutex;   /* protect tree, count, list */
+       /* Protected by tree_lock together with the radix tree */
        unsigned long           nrpages;        /* number of total pages */
        pgoff_t                 writeback_index;/* writeback starts here */
        const struct address_space_operations *a_ops;   /* methods */