]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - include/linux/fs.h
mm: Convert i_mmap_lock to a mutex
[mirror_ubuntu-hirsute-kernel.git] / include / linux / fs.h
index 5d2c86bdf5ba655a59ac4ec0ae567990c3912701..5bb9e826019b2fa27bf64a493bbba6f638381a32 100644 (file)
@@ -634,7 +634,7 @@ struct address_space {
        unsigned int            i_mmap_writable;/* count VM_SHARED mappings */
        struct prio_tree_root   i_mmap;         /* tree of private and shared mappings */
        struct list_head        i_mmap_nonlinear;/*list VM_NONLINEAR mappings */
-       spinlock_t              i_mmap_lock;    /* protect tree, count, list */
+       struct mutex            i_mmap_mutex;   /* protect tree, count, list */
        unsigned long           nrpages;        /* number of total pages */
        pgoff_t                 writeback_index;/* writeback starts here */
        const struct address_space_operations *a_ops;   /* methods */