[pnfs] [Fwd: [PATCH 04/13] nfs41: cleanup switch indentation in callback_xdr process_op]

Benny Halevy bhalevy at panasas.com
Wed Jan 23 05:46:18 EST 2008


Resending since previous message didn't get to the mailing list.

On Jan. 22, 2008, 21:33 +0200, Benny Halevy <bhalevy at panasas.com> wrote:

Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
 fs/nfs/callback_xdr.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c
index 058ade7..34b42d1 100644
--- a/fs/nfs/callback_xdr.c
+++ b/fs/nfs/callback_xdr.c
@@ -367,14 +367,14 @@ static __be32 process_op(struct svc_rqst *rqstp,
 	status = decode_op_hdr(xdr_in, &op_nr);
 	if (likely(status == 0)) {
 		switch (op_nr) {
-			case OP_CB_GETATTR:
-			case OP_CB_RECALL:
-				op = &callback_ops[op_nr];
-				break;
-			default:
-				op_nr = OP_CB_ILLEGAL;
-				op = &callback_ops[0];
-				status = htonl(NFS4ERR_OP_ILLEGAL);
+		case OP_CB_GETATTR:
+		case OP_CB_RECALL:
+			op = &callback_ops[op_nr];
+			break;
+		default:
+			op_nr = OP_CB_ILLEGAL;
+			op = &callback_ops[0];
+			status = htonl(NFS4ERR_OP_ILLEGAL);
 		}
 	}
 
-- 
1.5.3.3


-- 
Benny Halevy
Software Architect
Tel/Fax: +972-3-647-8340
Mobile: +972-54-802-8340
US:      +1-412-203-3187
bhalevy at panasas.com
 
Panasas, Inc.
The Leader in Parallel Storage
www.panasas.com


More information about the pNFS mailing list