summaryrefslogtreecommitdiff
path: root/crypto/rmd160.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-11-03 12:37:02 +1100
committerDave Chinner <david@fromorbit.com>2015-11-03 12:37:02 +1100
commit13ad4fe3e087ab66a140f1e00d98f28aa4e3bb28 (patch)
treee8f2cddd593803af2c6b8f6c31721ce7fe9d1fdb /crypto/rmd160.c
parent3af49285854df66260a263198cc15abb07b95287 (diff)
xfs: xfs_filemap_pmd_fault treats read faults as write faults
The code initially committed didn't have the same checks for write faults as the dax_pmd_fault code and hence treats all faults as write faults. We can get read faults through this path because they is no pmd_mkwrite path for write faults similar to the normal page fault path. Hence we need to ensure that we only do c/mtime updates on write faults, and freeze protection is unnecessary for read faults. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'crypto/rmd160.c')
0 files changed, 0 insertions, 0 deletions