diff options
author | Ashish Pandey <aspandey@redhat.com> | 2015-12-21 16:04:20 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-01-13 04:27:52 -0800 |
commit | b6b68fb15efc614e3718cbc42c6231ee9ac2593b (patch) | |
tree | 90066b37e28f6edb3a9e40e26ed757e1e6eaffff /xlators/mgmt | |
parent | bece36718c01b55a659aa1eb32728e5626cde9fe (diff) |
cluster/ec: Get size and config for invalid inode
Problem:
After creating an inode and before linking it
to inode table, if there is a request to setattr
for that file, it fails and leads to crash.
Before linking inode to inode table ia_type is IA_INVAL
which will casue have_size and have_config as zero.
Solution:
Check and get size and config if an inode is invalid
master-
http://review.gluster.org/#/c/13039/
Change-Id: I0c0e564940b1b9f351369a76ab14f6b4aa81f23b
BUG: 1293224
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Reviewed-on: http://review.gluster.org/13066
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/mgmt')
0 files changed, 0 insertions, 0 deletions