Skip to content

Commit

Permalink
nfs: nfs4xdr: change RESERVE_SPACE macro into a static helper
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benny Halevy authored and Trond Myklebust committed Aug 14, 2009
1 parent 2220f13 commit 13c65ce
Showing 1 changed file with 65 additions and 73 deletions.
Loading

0 comments on commit 13c65ce

Please sign in to comment.