]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Fix FS.FetchStatus delivery from updating wrong vnode
authorDavid Howells <dhowells@redhat.com>
Fri, 19 Oct 2018 23:57:58 +0000 (00:57 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 23:41:08 +0000 (00:41 +0100)
commit6b90ebdc26066175d004cd3b5bef8b15cea91a33
treed5c10159dfd62049838b39c310643968b52eb1fb
parent8a9fc03c56b424700ac8b9bd3735b2f5e49e846e
afs: Fix FS.FetchStatus delivery from updating wrong vnode

The FS.FetchStatus reply delivery function was updating inode of the
directory in which a lookup had been done with the status of the looked up
file.  This corrupts some of the directory state.

Fixes: 6769c742a244 ("afs: Prospectively look up extra files when doing a single lookup")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/fsclient.c