[PATCH 01/10] mm,fs: introduce helpers around the i_mmap_mutex

2014-10-30 Thread Davidlohr Bueso
Various parts of the kernel acquire and release this mutex, so add i_mmap_lock_write() and immap_unlock_write() helper functions that will encapsulate this logic. The next patch will make use of these. Signed-off-by: Davidlohr Bueso Reviewed-by: Rik van Riel Acked-by: Kirill A. Shutemov --- in

[PATCH 01/10] mm,fs: introduce helpers around the i_mmap_mutex

2014-10-24 Thread Davidlohr Bueso
Various parts of the kernel acquire and release this mutex, so add i_mmap_lock_write() and immap_unlock_write() helper functions that will encapsulate this logic. The next patch will make use of these. Signed-off-by: Davidlohr Bueso Reviewed-by: Rik van Riel --- include/linux/fs.h | 10