diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2012-11-12 09:58:02 -0500 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-07-05 06:31:14 -0700 |
commit | 34bca063cd8e7721c876e0f06d42978d5ff4d835 (patch) | |
tree | 2cfb6cddec1bbec1f3b7d8b35807a9bd1fa40a75 /xlators | |
parent | 3521020078e822d74eed235074dc978981fb56ed (diff) |
Add anonymous member to fd_t and use it instead of over-loading pid for
geo-rep and self heal
Change-Id: I4d6b29a044a8ed4b8f69ff6e3f35ee227739b2af
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
BUG: 874272
Reviewed-on: http://review.gluster.org/4185
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/5283
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/storage/posix/src/posix-helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c index c4f93100faa..80d1e53a886 100644 --- a/xlators/storage/posix/src/posix-helpers.c +++ b/xlators/storage/posix/src/posix-helpers.c @@ -1014,7 +1014,7 @@ __posix_fd_ctx_get (fd_t *fd, xlator_t *this, struct posix_fd **pfd_p) goto out; } - if (fd->pid != -1) + if (!fd_is_anonymous(fd)) /* anonymous fd */ goto out; |