]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: add the sb_start_intwrite_trylock() helper
authorAmir Goldstein <amir73il@gmail.com>
Mon, 14 May 2018 02:40:30 +0000 (22:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 May 2018 02:40:30 +0000 (22:40 -0400)
commit0e057f60124f7949a95db5850867d16812b6f09d
tree3edd5f018bd5f2e2a2b635b99eec7a30deff5782
parent908a4e29c006e54b59bc50afbb990347eee2d2f5
vfs: add the sb_start_intwrite_trylock() helper

Needed by ext4 to test frozen fs before updating s_last_mounted.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
include/linux/fs.h