diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2020-09-24 11:39:09 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:17:59 +0200 |
commit | e3c57805f8f2215a1586741009111b92930cc6ac (patch) | |
tree | 61a50eb0198136eeb8a1e44ee11f180173fe30c5 /fs/9p | |
parent | c33fe275b530f1ce1ab99923d50eb399f53ed545 (diff) |
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 <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <jth@kernel.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions