Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27959
b: refs/heads/master
c: 997b7af
h: refs/heads/master
i:
  27957: 59e545c
  27955: e5339b9
  27951: f7e0b87
v: v3
  • Loading branch information
David Woodhouse committed Apr 25, 2006
1 parent 084c59d commit 79ca857
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 28 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eacf17bdbc8e6f24fe46cd7e10fb9a657f060d08
refs/heads/master: 997b7af2fe0810ca82a2f801a295218b51426e5a
8 changes: 4 additions & 4 deletions trunk/include/linux/nfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
#ifndef _LINUX_NFS_H
#define _LINUX_NFS_H

#include <linux/sunrpc/msg_prot.h>
#include <linux/string.h>

#define NFS_PROGRAM 100003
#define NFS_PORT 2049
#define NFS_MAXDATA 8192
Expand Down Expand Up @@ -129,7 +126,10 @@ enum nfs_ftype {
NFFIFO = 8
};

#if defined(__KERNEL__)
#ifdef __KERNEL__
#include <linux/sunrpc/msg_prot.h>
#include <linux/string.h>

/*
* This is the kernel NFS client file handle representation
*/
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/linux/nfs4.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#define _LINUX_NFS4_H

#include <linux/types.h>
#include <linux/list.h>

#define NFS4_VERIFIER_SIZE 8
#define NFS4_FHSIZE 128
Expand Down Expand Up @@ -97,6 +96,9 @@ enum nfs4_acl_whotype {
NFS4_ACL_WHO_EVERYONE,
};

#ifdef __KERNEL__
#include <linux/list.h>

struct nfs4_ace {
uint32_t type;
uint32_t flag;
Expand Down Expand Up @@ -345,8 +347,6 @@ enum lock_type4 {
#define NFS4_MINOR_VERSION 0
#define NFS4_DEBUG 1

#ifdef __KERNEL__

/* Index of predefined Linux client operations */

enum {
Expand Down
39 changes: 19 additions & 20 deletions trunk/include/linux/nfs_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,6 @@
#ifndef _LINUX_NFS_FS_H
#define _LINUX_NFS_FS_H

#include <linux/config.h>
#include <linux/in.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/rwsem.h>
#include <linux/wait.h>

#include <linux/nfs_fs_sb.h>

#include <linux/sunrpc/debug.h>
#include <linux/sunrpc/auth.h>
#include <linux/sunrpc/clnt.h>

#include <linux/nfs.h>
#include <linux/nfs2.h>
#include <linux/nfs3.h>
#include <linux/nfs4.h>
#include <linux/nfs_xdr.h>
#include <linux/rwsem.h>
#include <linux/mempool.h>

/*
* Enable debugging support for nfs client.
Expand Down Expand Up @@ -63,6 +43,25 @@
#define FLUSH_NOCOMMIT 32 /* Don't send the NFSv3/v4 COMMIT */

#ifdef __KERNEL__
#include <linux/in.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/rwsem.h>
#include <linux/wait.h>

#include <linux/nfs_fs_sb.h>

#include <linux/sunrpc/debug.h>
#include <linux/sunrpc/auth.h>
#include <linux/sunrpc/clnt.h>

#include <linux/nfs.h>
#include <linux/nfs2.h>
#include <linux/nfs3.h>
#include <linux/nfs4.h>
#include <linux/nfs_xdr.h>
#include <linux/rwsem.h>
#include <linux/mempool.h>

/*
* NFSv3/v4 Access mode cache entry
Expand Down

0 comments on commit 79ca857

Please sign in to comment.