]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: convert call_sync() to a function
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 24 Mar 2011 17:12:23 +0000 (17:12 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Mar 2011 17:52:41 +0000 (13:52 -0400)
commit5f799404eaaf3070c1ff5cbfedaaf0600fb9f3a5
tree2a2c707b7248ad1bca741a96ec736852776d2822
parent005ae244b7e892a26f251677c6ad3436d7422ab0
NFS: convert call_sync() to a function

This patch changes nfs4_call_sync() from a macro into a
static inline function.  As a macro, the call_sync()
function will not do any type checking and depends
on the sequence arguments always having the same name.
As a function, we get to have type checking and can
rename the arguments if we so choose.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c