dax: Remove i_mmap_lock protection
[sfrench/cifs-2.6.git] / mm / memory.c
index f09cdb8d48fa7a1ab67847fdfb42edcc02beb4bb..06f552504e7977cb28ebfe9a5f3189fa0fc63e84 100644 (file)
@@ -2453,8 +2453,6 @@ void unmap_mapping_range(struct address_space *mapping,
        if (details.last_index < details.first_index)
                details.last_index = ULONG_MAX;
 
-
-       /* DAX uses i_mmap_lock to serialise file truncate vs page fault */
        i_mmap_lock_write(mapping);
        if (unlikely(!RB_EMPTY_ROOT(&mapping->i_mmap)))
                unmap_mapping_range_tree(&mapping->i_mmap, &details);