[Bugs] [Bug 1488399] Crash in dht_check_and_open_fd_on_subvol_task()
bugzilla at redhat.com
bugzilla at redhat.com
Thu Sep 7 02:17:08 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1488399
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18208 committed in master by Raghavendra G
(rgowdapp at redhat.com)
------
commit 47188e9eac59de416a5c86c7ec7540ed6aaa1c98
Author: Ravishankar N <ravishankar at redhat.com>
Date: Tue Sep 5 15:18:58 2017 +0530
dht: add FOP check to dht_file_setattr_cbk
Problem:
bug-797171.7 loaded error-gen xlator on the brick which sent EBADF for a
non fd-based fop, namely setattr. This caused
dht_check_and_open_fd_on_subvol_task() to crash as local->fd was NULL.
Fix:
Call dht_check_and_open_fd_on_subvol_task() from dht_file_setattr_cbk
only for dht_fsetattr and not dht_setattr or dht_setattr2
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Change-Id: Iab4999e213bf2065804f3f8237e470ad454e3c99
BUG: 1488399
Reviewed-on: https://review.gluster.org/18208
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Susant Palai <spalai at redhat.com>
Reviewed-by: Amar Tumballi <amarts at redhat.com>
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
Reviewed-by: N Balachandran <nbalacha at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=C80jNRpseH&a=cc_unsubscribe
More information about the Bugs
mailing list