nfsd: eliminate "to_delegation" define
authorJeff Layton <jlayton@primarydata.com>
Wed, 1 Oct 2014 12:05:22 +0000 (08:05 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 1 Oct 2014 16:28:01 +0000 (12:28 -0400)
commit34549ab09e62db9703811c6ed4715f2ffa1fd7fb
treee2fb1f1da30e316013984958efcfb2be6aadfaed
parent24bab491220faa446d945624086d838af41d616c
nfsd: eliminate "to_delegation" define

We now have cb_to_delegation and to_delegation, which do the same thing
and are defined separately in different .c files. Move the
cb_to_delegation definition into a header file and eliminate the
redundant to_delegation definition.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h