Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Alex Elder <[email protected]>
- Loading branch information