]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd44b6225a32a7df8752bfd675514441c6fda6a3c
treef69fafb038b71ddc0cdb6ed21d3c3aa6e6823d47
parent57ee7647c5a72bbc5a3975c0d092b0cf25a146e2
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