]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc54bd5116a6adc726007117d51a329a6b2dfd478
treee2fb1f1da30e316013984958efcfb2be6aadfaed
parent8ad8d2cf5a875b36197522d09a4633ab28d01ca0
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