-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFS: Move v3 declarations out of internal.h
I am generally against the "one big header file" approach, and everything in the client includes this file. Let's move all the NFS v3 declarations into a v3-only header file. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
- Loading branch information
Anna Schumaker
authored and
Trond Myklebust
committed
Sep 12, 2014
1 parent
f418c64
commit 00a36a1
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright (C) 2014 Anna Schumaker. | ||
* | ||
* NFSv3-specific filesystem definitions and declarations | ||
*/ | ||
#ifndef __LINUX_FS_NFS_NFS3_FS_H | ||
#define __LINUX_FS_NFS_NFS3_FS_H | ||
|
||
/* nfs3client.c */ | ||
struct nfs_server *nfs3_create_server(struct nfs_mount_info *, struct nfs_subversion *); | ||
struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *, | ||
struct nfs_fattr *, rpc_authflavor_t); | ||
|
||
|
||
#endif /* __LINUX_FS_NFS_NFS3_FS_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
|
||
#include "iostat.h" | ||
#include "internal.h" | ||
#include "nfs3_fs.h" | ||
|
||
#define NFSDBG_FACILITY NFSDBG_PROC | ||
|
||
|