Patchwork [BUG:1756,2/3] nfsrpc: Add new macro nfs_rpcsvc_request_procnum

login
register
Submitter Shehjar Tikoo
Date 2010-11-25 09:41:10
Message ID <1290678071-14424-2-git-send-email-shehjart@gluster.com>
Download mbox | patch
Permalink /patch/5783/
State Accepted
Headers show

Comments

Shehjar Tikoo - 2010-11-25 09:41:10
From: Shehjar Tikoo <shehjart@gluster.com>


Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
---
 xlators/nfs/lib/src/rpcsvc.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/xlators/nfs/lib/src/rpcsvc.h b/xlators/nfs/lib/src/rpcsvc.h
index 6d4bcf8..a43a850 100644
--- a/xlators/nfs/lib/src/rpcsvc.h
+++ b/xlators/nfs/lib/src/rpcsvc.h
@@ -390,6 +390,7 @@  struct rpcsvc_request {
 #define nfs_rpcsvc_request_record_iob(rq)   ((rq)->recordiob)
 #define nfs_rpcsvc_request_record_ref(req)  (iobuf_ref ((req)->recordiob))
 #define nfs_rpcsvc_request_record_unref(req) (iobuf_unref ((req)->recordiob))
+#define nfs_rpcsvc_request_procnum(rq)      ((rq)->procnum)
 
 
 #define RPCSVC_ACTOR_SUCCESS    0