Skip to content
Commit 92923dcb authored by Aneesh Kumar K.V's avatar Aneesh Kumar K.V Committed by Sage Weil
Browse files

ceph: Fix return value of encode_fh function



encode_fh function should return 255 on error as done by other file
system to indicate EOVERFLOW. Also max_len is in sizeof(u32) units
and not in bytes.

Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 6bc18876
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment