OSDN Git Service

NFSv4.1: bl_pg_init_write should be static
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 15:29:14 +0000 (08:29 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 15:34:29 +0000 (08:34 -0700)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/blocklayout/blocklayout.c

index af3ef0e..a34014a 100644 (file)
@@ -1204,7 +1204,7 @@ bl_pg_test_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev,
        return pnfs_generic_pg_test(pgio, prev, req);
 }
 
-void
+static void
 bl_pg_init_write(struct nfs_pageio_descriptor *pgio, struct nfs_page *req)
 {
        if (pgio->pg_dreq != NULL &&