diff options
| author | Goldwyn Rodrigues <[email protected]> | 2019-12-04 11:58:53 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-05-28 12:01:52 +0000 |
| commit | 5f008163a559d566a0ee1190a0a24f3eec6f1ea7 (patch) | |
| tree | 3abd629b4cffb4de245510594da552116656f172 /drivers/pci/controller/pci-host-generic.c | |
| parent | fs: remove dio_end_io() (diff) | |
| download | kernel-5f008163a559d566a0ee1190a0a24f3eec6f1ea7.tar.gz kernel-5f008163a559d566a0ee1190a0a24f3eec6f1ea7.zip | |
btrfs: remove BTRFS_INODE_READDIO_NEED_LOCK
Since we now perform direct reads using i_rwsem, we can remove this
inode flag used to co-ordinate unlocked reads.
The truncate call takes i_rwsem. This means it is correctly synchronized
with concurrent direct reads.
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Goldwyn Rodrigues <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
