]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFS: Return errors directly in _nfs4_opendata_reclaim_to_nfs4_state()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 11 Jan 2017 21:08:35 +0000 (16:08 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 30 Jan 2017 18:14:50 +0000 (13:14 -0500)
commit37a8484aef09638b9eead7070cb0ee27adb74ceb
tree9b251e125f1b79cf2de1a2a8ccfcca2f458e7597
parent820bf85ce249ec5b4da9f6aaefa3f5491b23b587
NFS: Return errors directly in _nfs4_opendata_reclaim_to_nfs4_state()

There is no need for a goto just to return an error code without any
cleanup.  Returning the error directly helps to clean up the code.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c