• Y
    NFSv4: kill off complicated macro 'PROC' · 0a93a47f
    Yu Zhiguo 提交于
    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: NYu Zhiguo <yuzg@cn.fujitsu.com>
    Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
    0a93a47f
nfs4proc.c 36.8 KB