]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0b67d3021f4882c88fb2f89f93eee461f150d98
treefa1c677b81106115e5ce0b80155bdbb300604e9d
parent2c72d9edb61d64e4bb2bbf0c910b3635bb71a7e2
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