nfsd: nfs4callback encode_stateid helper function
authorBenny Halevy <bhalevy@panasas.com>
Tue, 25 May 2010 06:50:23 +0000 (09:50 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 22 Jun 2010 21:19:51 +0000 (17:19 -0400)
commit9303bbd3de3b25061de11e4d8c891fa9592fad8c
tree515880cffa7e9805b95d2e19bd22c0c8c0adbf73
parent4731030d58a146630f5e8a0519661a5344a60f45
nfsd: nfs4callback encode_stateid helper function

To be used also for the pnfs cb_layoutrecall callback

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[nfsd4: fix cb_recall encoding]
    "nfsd: nfs4callback encode_stateid helper function" forgot to reserve
    more space after return from the new helper.
Reported-by: Michael Groshans <groshans@citi.umich.edu>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4callback.c