]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Fix unlink to handle YFS.RemoveFile2 better
authorDavid Howells <dhowells@redhat.com>
Tue, 14 May 2019 11:29:11 +0000 (12:29 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 May 2019 21:23:21 +0000 (22:23 +0100)
commitd3a14a02a04130136069848781f53b24e2d4e42f
tree4df2ddb097f5301ee92e8fe9ba2541b0dd40d9e4
parent78f9210199d9d939a4b72e90f95bd4f203def691
afs: Fix unlink to handle YFS.RemoveFile2 better

Make use of the status update for the target file that the YFS.RemoveFile2
RPC op returns to correctly update the vnode as to whether the file was
actually deleted or just had nlink reduced.

Fixes: abe8090c5825 ("afs: Implement YFS support in the fs client")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/afs.h
fs/afs/dir.c
fs/afs/fsclient.c
fs/afs/inode.c
fs/afs/internal.h
fs/afs/yfsclient.c