]> git.baikalelectronics.ru Git - kernel.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)
commitea47fe0afcd8b27acd5c37c1fd0def6e4644e544
tree9b251e125f1b79cf2de1a2a8ccfcca2f458e7597
parentab809839f139b1a34dc0ab7f13c8063d18514559
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