Skip to content
  • David Howells's avatar
    afs: Fix application of the results of a inline bulk status fetch · 39db9815
    David Howells authored
    Fix afs_do_lookup() such that when it does an inline bulk status fetch op,
    it will update inodes that are already extant (something that afs_iget()
    doesn't do) and to cache permits for each inode created (thereby avoiding a
    follow up FS.FetchStatus call to determine this).
    
    Extant inodes need looking up in advance so that their cb_break counters
    before and after the operation can be compared.  To this end, the inode
    pointers are cached so that they don't need looking up again after the op.
    
    Fixes: 5cf9dd55
    
     ("afs: Prospectively look up extra files when doing a single lookup")
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    39db9815