NFS: Reduce indentation of the switch statement in nfs4_reclaim_open_state()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Sep 2018 20:23:47 +0000 (16:23 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:17 +0000 (15:35 -0400)
commit35a61606a61249fb59cbf566f869c026f5fafec4
treefa1c677b81106115e5ce0b80155bdbb300604e9d
parentcb7a8384dc0202d5490302b7e948ede498aad720
NFS: Reduce indentation of the switch statement in nfs4_reclaim_open_state()

Most places in the kernel tend to line up cases with the switch to
reduce indentation, so move this over to match that style.
Additionally, I handle the (status >= 0) case in the switch so that we
only "goto restart" from a single place after error handling.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4state.c