summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-helpers.c
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2016-11-30 17:44:29 -0500
committerVijay Bellur <vbellur@redhat.com>2017-01-03 05:42:40 -0800
commit369fa575a1089b472c39a3843c56f694e1f7ad6f (patch)
tree5f0ca2dd5a23386d9df8e16f25bfd44a14fbc157 /xlators/storage/posix/src/posix-helpers.c
parent76fff8cb2a164b596ca67e65c99623f5b68361fd (diff)
storage/posix: log the error when locking the export directory fails
posix xlator tries to prevent external unmount of the brick export directory by locking it. It locks the export directory by opening it (i.e. doing a opendir). But if opendir fails it errors out resulting in the brick process going down. The error due to which opendir failed is not logged. Change-Id: I28648382b7f0b88fb1aeb36152e5ab5d812374c9 BUG: 1401095 Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-on: http://review.gluster.org/16018 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: Vijay Bellur <vbellur@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-helpers.c')
0 files changed, 0 insertions, 0 deletions