nfsdcld: add function to remove unreclaimed client records
authorJeff Layton <jlayton@redhat.com>
Thu, 26 Apr 2012 15:48:52 +0000 (11:48 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 26 Apr 2012 17:25:04 +0000 (13:25 -0400)
commit09d9011c66e518ca7fd01d41607845b940f58c8f
treeb4cddb31438f80171f5f8053d06da76d1168fd12
parent1b0d2b29df2e089bbcabc37a4cd716a448d48a5e
nfsdcld: add function to remove unreclaimed client records

This should remove any client record that has a timestamp prior to
the given time.

Eventually, this call will need to be made cluster aware when this is
run in a clustered configuration. For now, this is only suitable for
single-host configurations.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/nfsdcld/nfsdcld.c
utils/nfsdcld/sqlite.c
utils/nfsdcld/sqlite.h