]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: introduce new i_write_mutex to protect fallocate
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 27 May 2014 16:48:35 +0000 (12:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 May 2014 16:48:35 +0000 (12:48 -0400)
commit842837dbd1332195004c02497bc89df067282d88
tree8c2fe4f230caafd3ec3bec47ff7d03f941ef2da2
parent5cce8efe0bb96dd6f40cc074351be1b72d649b8f
ext4: introduce new i_write_mutex to protect fallocate

Introduce new i_write_mutex to protect new writes from coming while doing
fallocate operations. Also, get rid of aio_mutex as it is covered by
i_write_mutex.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/file.c
fs/ext4/inode.c
fs/ext4/super.c