NFSv4: kill off complicated macro 'PROC'
authorYu Zhiguo <yuzg@cn.fujitsu.com>
Tue, 19 May 2009 06:09:54 +0000 (14:09 +0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 1 Jun 2009 22:09:20 +0000 (18:09 -0400)
commit0a93a47f042c459f0f46942c3a920e3c81878031
tree9204c71810c955114ce4e6f73bdbf70d6b0dcc59
parent3c8e03166ae234d16e7871f8009638e0946d303c
NFSv4: kill off complicated macro 'PROC'

J. Bruce Fields wrote:
...
> (This is extremely confusing code to track down: note that
> proc->pc_decode is set to nfs4svc_decode_compoundargs() by the PROC()
> macro at the end of fs/nfsd/nfs4proc.c.  Which means, for example, that
> grepping for nfs4svc_decode_compoundargs() gets you nowhere.  Patches to
> kill off that macro would be welcomed....)

the macro 'PROC' is complicated and obscure, it had better
be killed off in order to make the code more clear.

Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c