diff options
author | Xi Wang <xi.wang@gmail.com> | 2012-02-03 14:55:36 (GMT) |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 15:47:45 (GMT) |
commit | 810339ec2fae5cbd0164b8acde7fb65652755864 (patch) | |
tree | 4a7ea72b1af2201d2bc521afc5e34ed6f6a8ca41 /net/sched | |
parent | a661fc561190c0ee2d7cfabcfa92204e2b3aa349 (diff) | |
download | linux-fsl-qoriq-810339ec2fae5cbd0164b8acde7fb65652755864.tar.xz |
ceph: avoid panic with mismatched symlink sizes in fill_inode()
Return -EINVAL rather than panic if iinfo->symlink_len and inode->i_size
do not match.
Also use kstrndup rather than kmalloc/memcpy.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Reviewed-by: Alex Elder <elder@dreamhost.com>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions