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)
commit7c295eec1e351003a8ca06c34f9e79336fa5b244
tree44e36fedd105e3b432415c8c3cfa4ccfb9640417
parent728279a5a1fd9fa9fa268f807391c4d19ad2822c
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: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/inode.c