summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.osdl.org>2004-02-09 00:25:04 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-09 00:25:04 -0800
commitd9efde4dda528c08db2e64f1624ca13d91910fdd (patch)
treee62f47acbf6c1c6a4662498bda865a531aa3d5c7 /include
parented3627364383919670c8555c1722b1bba5b1f4be (diff)
Add forward-declaration of "struct nfs4_client" to make
nfs_idmap.h independent of CONFIG_NFS4 and other header files.
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_idmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nfs_idmap.h b/include/linux/nfs_idmap.h
index 50df56b5a01e..a0f1f25e0ead 100644
--- a/include/linux/nfs_idmap.h
+++ b/include/linux/nfs_idmap.h
@@ -60,6 +60,10 @@ struct idmap_msg {
};
#ifdef __KERNEL__
+
+/* Forward declaration to make this header independent of others */
+struct nfs4_client;
+
void nfs_idmap_new(struct nfs4_client *);
void nfs_idmap_delete(struct nfs4_client *);