Xi Wang 810339ec2f 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>
2012-03-22 10:47:45 -05:00
..
2011-12-07 10:46:44 -08:00
2011-12-13 09:19:26 -08:00
2011-10-25 16:10:15 -07:00
2011-06-07 21:36:45 -07:00
2011-01-12 15:15:13 -08:00
2011-12-07 10:46:44 -08:00