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 03:56:59 -0800 |
commit | 3882408103973eac6983c2efdd5af8b1d51f272c (patch) | |
tree | ea4cf65e1bc4264f192b3dc4e0d7aa3e5ecfe0fd /xlators/nfs | |
parent | e9d20f0e1a17e0ef2f148a9b49d1cf9596cbe609 (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
Change-Id: I0c0e564940b1b9f351369a76ab14f6b4aa81f23b
BUG: 1293223
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Reviewed-on: http://review.gluster.org/13039
Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/nfs')
0 files changed, 0 insertions, 0 deletions