diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2010-10-05 12:33:42 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-10-07 17:00:24 +0200 |
commit | bba0cd0e3d97472855840af817b766e3f632a501 (patch) | |
tree | 31794165c098a079e3af617b594eaf9ae8d3bd8a /arch | |
parent | ceph: Fix return value of encode_fh function (diff) | |
download | linux-bba0cd0e3d97472855840af817b766e3f632a501.tar.xz linux-bba0cd0e3d97472855840af817b766e3f632a501.zip |
ceph: Update max_len with minimum required size
encode_fh on error should update max_len with minimum required
size, so that caller can redo the call with the reallocated buffer.
This is required with open by handle patch series
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions