]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit096ca80f423f0399c97d5c50135716f1e34bdd36
tree9a88d57aba72e38f3bf55344b8a94212b9d2ddcd
parent12decf4d6a8ec8e7a36d3ab81edbf79ed8de32ee
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