summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-05-11 11:58:53 +0200
committerVishal Verma <vishal.l.verma@intel.com>2016-05-17 00:44:10 -0600
commit7795bec89ebf927ea3ad9ed5f396c227e5c73271 (patch)
tree4f9292261310e20cc62dea91ee9dc44aa097981b /fs/block_dev.c
parentc3d98e39d5b37320b15f227686575d58f676e6ef (diff)
downloadtalos-obmc-linux-7795bec89ebf927ea3ad9ed5f396c227e5c73271.tar.gz
talos-obmc-linux-7795bec89ebf927ea3ad9ed5f396c227e5c73271.zip
dax: Remove redundant inode size checks
Callers of dax fault handlers must make sure these calls cannot race with truncate. Thus it is enough to check inode size when entering the function and we don't have to recheck it again later in the handler. Note that inode size itself can be decreased while the fault handler runs but filesystem locking prevents against any radix tree or block mapping information changes resulting from the truncate and that is what we really care about. Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud