sunrpc/nfsd: Remove redundant code by exports seq_operations functions
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 27 Jul 2015 03:09:42 +0000 (11:09 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 13 Aug 2015 12:59:02 +0000 (08:59 -0400)
commitc8c081b70cb563cc4d41ab9933fa3323c6f6ffca
tree31e4854fd9c7eda3116d1f11b667c1cd9917ee58
parent9936f2ae37482aff54ce53918c69b378bb50097c
sunrpc/nfsd: Remove redundant code by exports seq_operations functions

Nfsd has implement a site of seq_operations functions as sunrpc's cache.
Just exports sunrpc's codes, and remove nfsd's redundant codes.

v8, same as v6

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/export.c
include/linux/sunrpc/cache.h
net/sunrpc/cache.c