]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: Fix return value of encode_fh function
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 5 Oct 2010 10:33:41 +0000 (16:03 +0530)
committerSage Weil <sage@newdream.net>
Thu, 7 Oct 2010 15:00:23 +0000 (08:00 -0700)
commitf33029e20c5bd1dfad36bc484b4e9805ebcc4b59
treea16b4b1510af3c57acfa483d8f88cb5d0ba41d98
parent46409f665b917d8d77a356e98c268199dc11d41d
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: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/export.c