]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ceph: Update max_len with minimum required size
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 5 Oct 2010 10:33:42 +0000 (16:03 +0530)
committerSage Weil <sage@newdream.net>
Thu, 7 Oct 2010 15:00:24 +0000 (08:00 -0700)
commitbba0cd0e3d97472855840af817b766e3f632a501
tree31794165c098a079e3af617b594eaf9ae8d3bd8a
parent92923dcbfcad107b0e0469f579a2455729ccf10e
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>
fs/ceph/export.c