aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2016-05-11 11:58:53 +0200
committerVishal Verma <[email protected]>2016-05-17 00:44:10 -0600
commit7795bec89ebf927ea3ad9ed5f396c227e5c73271 (patch)
tree4f9292261310e20cc62dea91ee9dc44aa097981b /scripts/patch-kernel
parentc3d98e39d5b37320b15f227686575d58f676e6ef (diff)
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 <[email protected]> Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Vishal Verma <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions