summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorFred Isaman <iisaman@netapp.com>2011-03-23 13:27:53 +0000
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-03-23 15:29:04 -0400
commite0c2b3801828aadb65dec9f67f7c6b7a675ad007 (patch)
tree547d70967ad8f41a18f2d3112dbd12e64f972af2 /fs/nfs/pnfs.c
parent988b6dceb0ae6d642587c8594529b94f6be0c5ea (diff)
downloadlinux-stable-e0c2b3801828aadb65dec9f67f7c6b7a675ad007.tar.gz
linux-stable-e0c2b3801828aadb65dec9f67f7c6b7a675ad007.tar.bz2
linux-stable-e0c2b3801828aadb65dec9f67f7c6b7a675ad007.zip
NFSv4.1: filelayout driver specific code for COMMIT
Implement all the hooks created in the previous patches. This requires exporting quite a few functions and adding a few structure fields. Signed-off-by: Fred Isaman <iisaman@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r--fs/nfs/pnfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index f38813a0a295..c67565965f2a 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -259,6 +259,7 @@ put_lseg(struct pnfs_layout_segment *lseg)
pnfs_free_lseg_list(&free_me);
}
}
+EXPORT_SYMBOL_GPL(put_lseg);
static bool
should_free_lseg(u32 lseg_iomode, u32 recall_iomode)