diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-25 09:44:06 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-25 09:44:06 -0400 |
| commit | ef78cc75f11ba3b085b105209cbfc6666ee10499 (patch) | |
| tree | 1820dbd8ebb422b0a5751981cdfb6a2ecd30e20b /include | |
| parent | 1442d1678ca7e53574fd403ba7bee6f4125d920c (diff) | |
| parent | 940aab490215424a269f93d2eba2794fc8b3e269 (diff) | |
Merge branch 'nfs-for-3.2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
* 'nfs-for-3.2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: (26 commits)
Check validity of cl_rpcclient in nfs_server_list_show
NFS: Get rid of the nfs_rdata_mempool
NFS: Don't rely on PageError in nfs_readpage_release_partial
NFS: Get rid of unnecessary calls to ClearPageError() in read code
NFS: Get rid of nfs_restart_rpc()
NFS: Get rid of the unused nfs_write_data->flags field
NFS: Get rid of the unused nfs_read_data->flags field
NFSv4: Translate NFS4ERR_BADNAME into ENOENT when applied to a lookup
NFS: Remove the unused "lookupfh()" version of nfs4_proc_lookup()
NFS: Use the inode->i_version to cache NFSv4 change attribute information
SUNRPC: Remove unnecessary export of rpc_sockaddr2uaddr
SUNRPC: Fix rpc_sockaddr2uaddr
nfs/super.c: local functions should be static
pnfsblock: fix writeback deadlock
pnfsblock: fix NULL pointer dereference
pnfs: recoalesce when ld read pagelist fails
pnfs: recoalesce when ld write pagelist fails
pnfs: make _set_lo_fail generic
pnfsblock: add missing rpc_put_mount and path_put
SUNRPC/NFS: make rpc pipe upcall generic
...
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nfs_fs.h | 1 | ||||
| -rw-r--r-- | include/linux/nfs_page.h | 1 | ||||
| -rw-r--r-- | include/linux/nfs_xdr.h | 5 | ||||
| -rw-r--r-- | include/linux/sunrpc/clnt.h | 3 | ||||
| -rw-r--r-- | include/linux/sunrpc/rpc_pipe_fs.h | 2 |
5 files changed, 5 insertions, 7 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index eaac770f886e..60a137b7f171 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
| @@ -149,7 +149,6 @@ struct nfs_inode { | |||
| 149 | unsigned long read_cache_jiffies; | 149 | unsigned long read_cache_jiffies; |
| 150 | unsigned long attrtimeo; | 150 | unsigned long attrtimeo; |
| 151 | unsigned long attrtimeo_timestamp; | 151 | unsigned long attrtimeo_timestamp; |
| 152 | __u64 change_attr; /* v4 only */ | ||
| 153 | 152 | ||
| 154 | unsigned long attr_gencount; | 153 | unsigned long attr_gencount; |
| 155 | /* "Generation counter" for the attribute cache. This is | 154 | /* "Generation counter" for the attribute cache. This is |
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h index e2791a27a901..ab465fe8c3d6 100644 --- a/include/linux/nfs_page.h +++ b/include/linux/nfs_page.h | |||
| @@ -34,6 +34,7 @@ enum { | |||
| 34 | PG_NEED_COMMIT, | 34 | PG_NEED_COMMIT, |
| 35 | PG_NEED_RESCHED, | 35 | PG_NEED_RESCHED, |
| 36 | PG_PNFS_COMMIT, | 36 | PG_PNFS_COMMIT, |
| 37 | PG_PARTIAL_READ_FAILED, | ||
| 37 | }; | 38 | }; |
| 38 | 39 | ||
| 39 | struct nfs_inode; | 40 | struct nfs_inode; |
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index abd615d74a29..c74595ba7094 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
| @@ -1133,7 +1133,6 @@ struct nfs_page; | |||
| 1133 | #define NFS_PAGEVEC_SIZE (8U) | 1133 | #define NFS_PAGEVEC_SIZE (8U) |
| 1134 | 1134 | ||
| 1135 | struct nfs_read_data { | 1135 | struct nfs_read_data { |
| 1136 | int flags; | ||
| 1137 | struct rpc_task task; | 1136 | struct rpc_task task; |
| 1138 | struct inode *inode; | 1137 | struct inode *inode; |
| 1139 | struct rpc_cred *cred; | 1138 | struct rpc_cred *cred; |
| @@ -1156,7 +1155,6 @@ struct nfs_read_data { | |||
| 1156 | }; | 1155 | }; |
| 1157 | 1156 | ||
| 1158 | struct nfs_write_data { | 1157 | struct nfs_write_data { |
| 1159 | int flags; | ||
| 1160 | struct rpc_task task; | 1158 | struct rpc_task task; |
| 1161 | struct inode *inode; | 1159 | struct inode *inode; |
| 1162 | struct rpc_cred *cred; | 1160 | struct rpc_cred *cred; |
| @@ -1197,9 +1195,6 @@ struct nfs_rpc_ops { | |||
| 1197 | 1195 | ||
| 1198 | int (*getroot) (struct nfs_server *, struct nfs_fh *, | 1196 | int (*getroot) (struct nfs_server *, struct nfs_fh *, |
| 1199 | struct nfs_fsinfo *); | 1197 | struct nfs_fsinfo *); |
| 1200 | int (*lookupfh)(struct nfs_server *, struct nfs_fh *, | ||
| 1201 | struct qstr *, struct nfs_fh *, | ||
| 1202 | struct nfs_fattr *); | ||
| 1203 | int (*getattr) (struct nfs_server *, struct nfs_fh *, | 1198 | int (*getattr) (struct nfs_server *, struct nfs_fh *, |
| 1204 | struct nfs_fattr *); | 1199 | struct nfs_fattr *); |
| 1205 | int (*setattr) (struct dentry *, struct nfs_fattr *, | 1200 | int (*setattr) (struct dentry *, struct nfs_fattr *, |
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index ee1bb67f525e..492486a74484 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #ifndef _LINUX_SUNRPC_CLNT_H | 9 | #ifndef _LINUX_SUNRPC_CLNT_H |
| 10 | #define _LINUX_SUNRPC_CLNT_H | 10 | #define _LINUX_SUNRPC_CLNT_H |
| 11 | 11 | ||
| 12 | #include <linux/types.h> | ||
| 12 | #include <linux/socket.h> | 13 | #include <linux/socket.h> |
| 13 | #include <linux/in.h> | 14 | #include <linux/in.h> |
| 14 | #include <linux/in6.h> | 15 | #include <linux/in6.h> |
| @@ -161,7 +162,7 @@ const char *rpc_peeraddr2str(struct rpc_clnt *, enum rpc_display_format_t); | |||
| 161 | size_t rpc_ntop(const struct sockaddr *, char *, const size_t); | 162 | size_t rpc_ntop(const struct sockaddr *, char *, const size_t); |
| 162 | size_t rpc_pton(const char *, const size_t, | 163 | size_t rpc_pton(const char *, const size_t, |
| 163 | struct sockaddr *, const size_t); | 164 | struct sockaddr *, const size_t); |
| 164 | char * rpc_sockaddr2uaddr(const struct sockaddr *); | 165 | char * rpc_sockaddr2uaddr(const struct sockaddr *, gfp_t); |
| 165 | size_t rpc_uaddr2sockaddr(const char *, const size_t, | 166 | size_t rpc_uaddr2sockaddr(const char *, const size_t, |
| 166 | struct sockaddr *, const size_t); | 167 | struct sockaddr *, const size_t); |
| 167 | 168 | ||
diff --git a/include/linux/sunrpc/rpc_pipe_fs.h b/include/linux/sunrpc/rpc_pipe_fs.h index cf14db975da0..e4ea43058d8f 100644 --- a/include/linux/sunrpc/rpc_pipe_fs.h +++ b/include/linux/sunrpc/rpc_pipe_fs.h | |||
| @@ -44,6 +44,8 @@ RPC_I(struct inode *inode) | |||
| 44 | return container_of(inode, struct rpc_inode, vfs_inode); | 44 | return container_of(inode, struct rpc_inode, vfs_inode); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | extern ssize_t rpc_pipe_generic_upcall(struct file *, struct rpc_pipe_msg *, | ||
| 48 | char __user *, size_t); | ||
| 47 | extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); | 49 | extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); |
| 48 | 50 | ||
| 49 | struct rpc_clnt; | 51 | struct rpc_clnt; |
