diff options
author | David Howells <dhowells@redhat.com> | 2019-05-14 11:52:03 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-16 16:25:21 +0100 |
commit | d9052dda8a39069312218f913d22d99c48d90004 (patch) | |
tree | 177e0597fd7ec898cf1ca8d87a0bb8f0b48ffbb2 /include/rdma | |
parent | 781070551c26def14784ce5ca14194d7ca234b04 (diff) | |
download | linux-d9052dda8a39069312218f913d22d99c48d90004.tar.bz2 |
afs: Don't invalidate callback if AFS_VNODE_DIR_VALID not set
Don't invalidate the callback promise on a directory if the
AFS_VNODE_DIR_VALID flag is not set (which indicates that the directory
contents are invalid, due to edit failure, callback break, page reclaim).
The directory will be reloaded next time the directory is accessed, so
clearing the callback flag at this point may race with a reload of the
directory and cancel it's recorded callback promise.
Fixes: f3ddee8dc4e2 ("afs: Fix directory handling")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions