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