pNFS: Unexport pnfs_put_lseg_locked and _pnfs_return_layout
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 20:53:58 +0000 (16:53 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 20:53:58 +0000 (16:53 -0400)
They are not used outside the NFSv4 module.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c

index dd042498ce7c67df24b4919c2e98dc8f48db13ca..3917a6272789d246eced76e0d24d022c96c8cb03 100644 (file)
@@ -563,7 +563,6 @@ pnfs_put_lseg_locked(struct pnfs_layout_segment *lseg)
                }
        }
 }
-EXPORT_SYMBOL_GPL(pnfs_put_lseg_locked);
 
 /*
  * is l2 fully contained in l1?
@@ -1209,7 +1208,6 @@ out:
        dprintk("<-- %s status: %d\n", __func__, status);
        return status;
 }
-EXPORT_SYMBOL_GPL(_pnfs_return_layout);
 
 int
 pnfs_commit_and_return_layout(struct inode *inode)