diff options
author | Pranith K <pranithk@gluster.com> | 2011-03-22 02:03:46 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-11 05:44:19 -0700 |
commit | f0f90361f532065721362591b909edd3f2f22588 (patch) | |
tree | edf2cdba745b52bb4f60871af137442639aba247 /xlators/cluster/afr/src/afr-self-heal-common.c | |
parent | 92a4738598d4cba3066e69bbc26a5dba48df86d5 (diff) |
cluster/afr: skip openfd flush when the file is already deleted
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2497 (client crashes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2497
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c index e716e20ef51..764b99807c4 100644 --- a/xlators/cluster/afr/src/afr-self-heal-common.c +++ b/xlators/cluster/afr/src/afr-self-heal-common.c @@ -1559,6 +1559,8 @@ afr_self_heal (call_frame_t *frame, xlator_t *this) local = frame->local; priv = this->private; + GF_ASSERT (local->loc.path); + afr_set_lk_owner (frame, this); if (local->self_heal.background) { |