diff options
author | Marc Eshel | 2006-11-28 22:26:47 +0100 |
---|---|---|
committer | J. Bruce Fields | 2007-05-07 02:38:50 +0200 |
commit | 2b36f412ab6f2e5b64af9832b20eb7ef67d025b4 (patch) | |
tree | b4a561cc944d25d96798f97d06bd78760db7afba /kernel/exit.c | |
parent | locks: add fl_grant callback for asynchronous lock return (diff) | |
download | kernel-qcow2-linux-2b36f412ab6f2e5b64af9832b20eb7ef67d025b4.tar.gz kernel-qcow2-linux-2b36f412ab6f2e5b64af9832b20eb7ef67d025b4.tar.xz kernel-qcow2-linux-2b36f412ab6f2e5b64af9832b20eb7ef67d025b4.zip |
lockd: save lock state on deferral
We need to keep some state for a pending asynchronous lock request, so this
patch adds that state to struct nlm_block.
This also adds a function which defers the request, by calling
rqstp->rq_chandle.defer and storing the resulting deferred request in a
nlm_block structure which we insert into lockd's global block list. That
new function isn't called yet, so it's dead code until a later patch.
Signed-off-by: Marc Eshel <eshel@almaden.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions