summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs3-helpers.c
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-04-07 10:07:29 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-04-08 03:08:26 -0700
commitc724beb161ce5f21862e9bb425736efed7532777 (patch)
tree03074a2ac92e9df0505b54877821cdb14fb5aa3f /xlators/nfs/server/src/nfs3-helpers.c
parentd9e256b0e4203a7f79f862ecc83c509e516f0e14 (diff)
NFS: type fixes: some portability cleanup
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 399 (NFS translator with Mount v3 and NFS v3 support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=399
Diffstat (limited to 'xlators/nfs/server/src/nfs3-helpers.c')
-rw-r--r--xlators/nfs/server/src/nfs3-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c
index 6b9c452c2..72861dfd0 100644
--- a/xlators/nfs/server/src/nfs3-helpers.c
+++ b/xlators/nfs/server/src/nfs3-helpers.c
@@ -1883,7 +1883,7 @@ nfs3_fdcache_add (struct nfs3_state *nfs3, fd_t *fd)
{
gf_log (GF_NFS3, GF_LOG_TRACE, "Adding fd: 0x%lx",
(long int) fd);
- fd_ctx_set (fd, nfs3->nfsx, (uint64_t)fde);
+ fd_ctx_set (fd, nfs3->nfsx, (uintptr_t)fde);
fd_bind (fd);
list_add_tail (&fde->list, &nfs3->fdlru);
++nfs3->fdcount;
@@ -1945,7 +1945,7 @@ __nfs3_queue_call_state (nfs3_call_state_t *cs)
gf_log (GF_NFS3, GF_LOG_TRACE, "Initing inode queue");
INIT_LIST_HEAD (inode_q);
- __inode_ctx_put (cs->resolvedloc.inode, cs->nfsx, (uint64_t)inode_q);
+ __inode_ctx_put (cs->resolvedloc.inode, cs->nfsx, (uintptr_t)inode_q);
attach_cs:
if (list_empty (inode_q)) {