diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2015-06-27 13:17:32 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-08-11 21:17:39 -0700 |
commit | 7b44b6c16fb538e5f15a255182de4dee781994a0 (patch) | |
tree | 19207dfd0469c37a43f1ac9e50d31febbcabcbe8 /xlators/mgmt | |
parent | 8d7a4f6b0aa8e63e1a0802e22bcebe96e4e7490f (diff) |
features/bit-rot-stub: fail the fop if inode context get fails
In stub, for fops like readv, writev etc, if the the object is bad, then the fop
is denied. But for checking if the object is bad inode context should be
checked. Now, if the inode context is not there, then the fop is allowed to
continue. This patch fixes it and the fop is unwound with an error, if the inode
context is not found.
Change-Id: I5ea4d4fc1a91387f7f9d13ca8cb43c88429f02b0
BUG: 1243391
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/11449
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/mgmt')
0 files changed, 0 insertions, 0 deletions