projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
292f3ee
)
NFS: Fix a compile issue when CONFIG_NFS_V4_1 is undefined
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 22:39:20 +0000
(18:39 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 22:39:20 +0000
(18:39 -0400)
struct nfs_direct_req can't compile when struct pnfs_ds_commit_info
is undefined.
Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
include/linux/nfs_xdr.h
patch
|
blob
|
history
diff --git
a/include/linux/nfs_xdr.h
b/include/linux/nfs_xdr.h
index c940d46eb423b4f43727333ffe62c785a20cd443..6deb8f097c42731e13faa2b55aa5c7ed0fab3cd7 100644
(file)
--- a/
include/linux/nfs_xdr.h
+++ b/
include/linux/nfs_xdr.h
@@
-1176,6
+1176,11
@@
struct nfs41_free_stateid_res {
struct nfs4_sequence_res seq_res;
};
+#else
+
+struct pnfs_ds_commit_info {
+};
+
#endif /* CONFIG_NFS_V4_1 */
struct nfs_page;