2011-04-13 01:58:46

by Jeff Mahoney

[permalink] [raw]
Subject: [PATCH] fhandle: Add <linux/personality.h> for ia64

force_o_largefile() on ia64 is defined in <asm/fcntl.h> and
requires <linux/personality.h>. This patch adds it.

Signed-off-by: Jeff Mahoney <[email protected]>
---
fs/fhandle.c | 1 +
1 file changed, 1 insertion(+)

--- a/fs/fhandle.c
+++ b/fs/fhandle.c
@@ -7,6 +7,7 @@
#include <linux/exportfs.h>
#include <linux/fs_struct.h>
#include <linux/fsnotify.h>
+#include <linux/personality.h>
#include <asm/uaccess.h>
#include "internal.h"

--
Jeff Mahoney
SuSE Labs