commit | 168316db3583253b9e5d46392e5b9d03d531406f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 08 14:43:13 2017 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Feb 08 14:43:13 2017 -0500 |
tree | 1d402c8b9dbc959dfc546a1cef16581b2b09a711 | |
parent | ff5462e39ca1d27e530d088c4e38741fd9cddad4 [diff] |
dax: assert that i_rwsem is held exclusive for writes Make sure all callers follow the same locking protocol, given that DAX transparantly replaced the normal buffered I/O path. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>