lockd: Fix up incorrect RPC buffer size calculations.
authorChuck Lever <chuck.lever@oracle.com>
Fri, 14 Mar 2008 18:26:01 +0000 (14:26 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Mar 2008 22:01:07 +0000 (18:01 -0400)
commit2ca7754d4c96d68e1475690422a202ba5f0443d8
treec67f12d715492e78e371861afde95604d1aaf3bb
parentea72a7f170e686baf00ceee57b6197bef686889c
lockd: Fix up incorrect RPC buffer size calculations.

Switch to using the new mon_id encoder function.

Now that we've refactored the encoding of SM_MON requests, we've
discovered that the pre-computed buffer length maximums are
incorrect!

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/mon.c