nfs: nfs4xdr: change RESERVE_SPACE macro into a static helper
authorBenny Halevy <bhalevy@panasas.com>
Fri, 14 Aug 2009 14:19:25 +0000 (17:19 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 Aug 2009 17:17:17 +0000 (13:17 -0400)
commit13c65ce90006badccd5663e558e3c85869ae5ce6
tree9a88d57aba72e38f3bf55344b8a94212b9d2ddcd
parent2220f13a8b90d2259f3094cb54cf4de67d8eee2d
nfs: nfs4xdr: change RESERVE_SPACE macro into a static helper

In order to open code and expose the result pointer assignment.

Alternatively, we can open code the call to xdr_reserve_space
and do the BUG_ON an the error case at the call site.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c