summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
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 11:12:56 -0700
commit827119f277c15701a72c6b05199fb6854fe4f4d1 (patch)
tree5edd8690b8e7397b0659463339338cdbb646bf25 /xlators/nfs
parente4e8c378728da595d18d488b438662efc2fea844 (diff)
features/shard: Add "is-directory" checks in stat/fstat
Backport of: http://review.gluster.org/10427 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: I8645b7fe58b2d44b5f527d50c1c7102de44acc00 BUG: 1214247 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/10509 Tested-by: NetBSD Build System Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/nfs')
0 files changed, 0 insertions, 0 deletions