afs: Fix yfs_fs_fetch_status() to honour vnode selector
authorDavid Howells <dhowells@redhat.com>
Mon, 15 Jun 2020 23:23:12 +0000 (00:23 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 16 Jun 2020 15:26:57 +0000 (16:26 +0100)
commit9bd87ec631ba07285138eed9c85645a12294f6c6
treeabc30d817da615c9de564ff26f8463a9fdcd5fb5
parent6c85cacc8c096fc5cbdba61b6aa8fe675805e5d1
afs: Fix yfs_fs_fetch_status() to honour vnode selector

Fix yfs_fs_fetch_status() to honour the vnode selector in
op->fetch_status.which as does afs_fs_fetch_status() that allows
afs_do_lookup() to use this as an alternative to the InlineBulkStatus RPC
call if not implemented by the server.

This doesn't matter in the current code as YFS servers always implement
InlineBulkStatus, but a subsequent will call it on YFS servers too in some
circumstances.

Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/yfsclient.c