]> git.baikalelectronics.ru Git - kernel.git/commit
afs: afs_vnode_commit_status() doesn't need to check the RPC error
authorDavid Howells <dhowells@redhat.com>
Mon, 15 Jun 2020 23:52:30 +0000 (00:52 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 16 Jun 2020 15:26:57 +0000 (16:26 +0100)
commit4ecb61bd7891b47ef925501f9173680ba5c3d822
tree44e36fedd105e3b432415c8c3cfa4ccfb9640417
parent9b84273811fa2207762e44625336c7805ad873ad
afs: afs_vnode_commit_status() doesn't need to check the RPC error

afs_vnode_commit_status() is only ever called if op->error is 0, so remove
the op->error checks from the function.

Fixes: 511b1ded7178 ("afs: Build an abstraction around an "operation" concept")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/inode.c