summaryrefslogtreecommitdiffstats
path: root/xlators/features/bit-rot/src
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-04-28 18:51:38 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-03 08:38:50 -0700
commitcff5db814ee31b556d321f7421cdb3fccc8c629d (patch)
tree36e33ce06d7847680b4b15a6c9bb6b3a0d4f7bd7 /xlators/features/bit-rot/src
parent5388706e8431114418c0335f24532bf9f8df7588 (diff)
features/shard: Add "is-directory" checks in stat/fstat
During mount, NFS directly calls stat on the root of the volume without sending a lookup on it. This was causing inode_ctx_get_block_size() to fail on /. A check is now added in [f]stat which would ensure no action is taken by shard xlator when the operation is on a directory. Change-Id: I81849eeddfdad9f271155442408d95b4a25d7647 BUG: 1207615 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/10427 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src')
0 files changed, 0 insertions, 0 deletions