diff options
author | Brian Foster <bfoster@redhat.com> | 2012-07-25 08:14:38 -0400 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-25 15:03:57 -0700 |
commit | 34d395fc16449ec3fe709d77609677992752b61a (patch) | |
tree | c769688517edf133a66aba75d19c16a48a84ae42 /README | |
parent | 75ee490213b7f7673970ef80dee3bcc567848c26 (diff) |
cluster: fix crash on link of named pipe in stripe/replicate vol
A crash occurs when attempting to link a named pipe on a striped,
replicated volume. The cause for this crash is attempting to deref
a NULL inode pointer in stripe_link_cbk(). The RCA for this bug
uncovered a couple of problems:
- AFR ignores the inode pointer it receives on failure (returning
NULL).
- stripe assumes the inode pointer is valid on failure.
Either one of these changes addresses the crash, but this patch
includes both changes. AFR is modified to pass along the inode
pointer it receives (which could still be NULL). stripe is
modified to not assume the inode pointer is valid on fop failure.
BUG: 842825
Change-Id: I9cb2cc918552620929c3ecbd69bc66d4635eafdc
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-on: http://review.gluster.com/3727
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions