nfsd: add a list_head arg to nfsd_foreach_client_lock
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 12:27:20 +0000 (08:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 5 Aug 2014 14:55:06 +0000 (10:55 -0400)
commit3738d50e7f6d04dd58d219cf9111bf927c17c6f2
tree827de04966e2b6805b589022ee8ef3a6404289cf
parent69fc9edf987ca451831575b1e5450a9fe49fbfe0
nfsd: add a list_head arg to nfsd_foreach_client_lock

In a later patch, we'll want to collect the locks onto a list for later
destruction. If "func" is defined and "collect" is defined, then we'll
add the lock stateid to the list.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c