[pnfs] [PATCH resend] missing include in nfs4filelayoutdev.c
Benny Halevy
bhalevy at panasas.com
Mon Nov 26 06:34:31 EST 2007
Please apply this patch.
The module doesn't compile without it.
Thanks,
Benny
On Oct. 22, 2007, 10:22 +0200, Benny Halevy <bhalevy at panasas.com> wrote:
need to include <linux/utsname.h> for system_utsname
(introduced in 604236c9aa5a4dfaa8a8f40ee77f45836af6292f)
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
fs/nfs/nfs4filelayoutdev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/nfs/nfs4filelayoutdev.c b/fs/nfs/nfs4filelayoutdev.c
index dda1e55..7c77ce1 100644
--- a/fs/nfs/nfs4filelayoutdev.c
+++ b/fs/nfs/nfs4filelayoutdev.c
@@ -40,6 +40,7 @@
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/hash.h>
+#include <linux/utsname.h>
#include <linux/nfs4.h>
#include <linux/nfs_fs.h>
--
1.5.3.1
More information about the pNFS
mailing list