Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-qg0-f52.google.com ([209.85.192.52]:42877 "EHLO mail-qg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752883AbaIOOBR (ORCPT ); Mon, 15 Sep 2014 10:01:17 -0400 Received: by mail-qg0-f52.google.com with SMTP id i50so3944522qgf.39 for ; Mon, 15 Sep 2014 07:01:16 -0700 (PDT) From: Jeff Layton To: steved@redhat.com Cc: bfields@fieldses.org, linux-nfs@vger.kernel.org Subject: [PATCH v4 2/7] nfsdcltrack: update comments in sqlite.c Date: Mon, 15 Sep 2014 10:01:00 -0400 Message-Id: <1410789665-19745-3-git-send-email-jlayton@primarydata.com> In-Reply-To: <1410789665-19745-1-git-send-email-jlayton@primarydata.com> References: <1410789665-19745-1-git-send-email-jlayton@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: Clean up and fix some inaccuracies. Signed-off-by: Jeff Layton --- utils/nfsdcltrack/sqlite.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/utils/nfsdcltrack/sqlite.c b/utils/nfsdcltrack/sqlite.c index bac678980938..352f029d55c0 100644 --- a/utils/nfsdcltrack/sqlite.c +++ b/utils/nfsdcltrack/sqlite.c @@ -21,17 +21,15 @@ * Explanation: * * This file contains the code to manage the sqlite backend database for the - * clstated upcall daemon. + * nfsdcltrack usermodehelper upcall program. * * The main database is called main.sqlite and contains the following tables: * * parameters: simple key/value pairs for storing database info * - * clients: one column containing a BLOB with the as sent by the client - * and a timestamp (in epoch seconds) of when the record was - * established - * - * FIXME: should we also record the fsid being accessed? + * clients: an "id" column containing a BLOB with the long-form clientid as + * sent by the client, a "time" column containing a timestamp (in + * epoch seconds) of when the record was last updated. */ #ifdef HAVE_CONFIG_H -- 1.9.3