]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Get the target vnode in afs_rmdir() and get a callback on it
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)
commit9ce152b3718543a6e8b7987f2462e6dd202dba2b
treec7e94eeb615d960433a3e27795463342e9f0e2d5
parent7ea9047d31072f0f3fe85dde0de061f809963d7e
afs: Get the target vnode in afs_rmdir() and get a callback on it

Get the target vnode in afs_rmdir() and validate it before we attempt the
deletion, The vnode pointer will be passed through to the delivery function
in a later patch so that the delivery function can mark it deleted.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/dir.c