afs: Fix signal handling in some file ops
authorDavid Howells <dhowells@redhat.com>
Mon, 20 Nov 2017 22:41:00 +0000 (22:41 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 24 Nov 2017 13:55:35 +0000 (13:55 +0000)
commit4433b69141864b8c8ba50d0a3ed38341eec9c469
treef69fafb038b71ddc0cdb6ed21d3c3aa6e6823d47
parentbc1527dcb422ead9e1808def6824b4c0e469cc1c
afs: Fix signal handling in some file ops

afs_mkdir(), afs_create(), afs_link() and afs_symlink() all need to drop
the target dentry if a signal causes the operation to be killed immediately
before we try to contact the server.

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