summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-11-25 04:11:10 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-25 06:35:30 -0800
commit50e5c72fd63c44119b272435e715a712d848476a (patch)
treef2f9615ae5774a5c0c5d8ef58366a2a55581e071 /xlators
parent6623055696e1b28267305ac45087497f4c6a884a (diff)
nfsrpc: Add new macro nfs_rpcsvc_request_procnum
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1756 (NFS must revalidate inode on first ESTALE on lookup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1756
Diffstat (limited to 'xlators')
-rw-r--r--xlators/nfs/lib/src/rpcsvc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.h b/xlators/nfs/lib/src/rpcsvc.h
index 6d4bcf89e..a43a8500f 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