]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb62ecfd2f9eb7d7b1571ce99016c7ff085cef99f
treeabc30d817da615c9de564ff26f8463a9fdcd5fb5
parent13753e9234733d46209747affb736ca1c6992ae7
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: 511b1ded7178 ("afs: Build an abstraction around an "operation" concept")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/yfsclient.c