diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2010-10-05 06:33:41 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-10-07 11:00:23 -0400 |
commit | 92923dcbfcad107b0e0469f579a2455729ccf10e (patch) | |
tree | a16b4b1510af3c57acfa483d8f88cb5d0ba41d98 /fs/dlm/lock.c | |
parent | 6bc18876ba01fd4a077db6e1ed27201e4bda8864 (diff) |
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>
Diffstat (limited to 'fs/dlm/lock.c')
0 files changed, 0 insertions, 0 deletions