aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-07-26 03:46:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-07-26 20:53:42 -0400
commit3f8206d496e9e9495afb1d4e70d29712b4d403c9 (patch)
tree5bedea1aff8b5e584fbf8497c80fcaccf9242d69 /fs
parent964bd183624c03680796b63b4ab97ee3905a806a (diff)
downloadkernel_samsung_aries-3f8206d496e9e9495afb1d4e70d29712b4d403c9.zip
kernel_samsung_aries-3f8206d496e9e9495afb1d4e70d29712b4d403c9.tar.gz
kernel_samsung_aries-3f8206d496e9e9495afb1d4e70d29712b4d403c9.tar.bz2
[PATCH] get rid of indirect users of namei.h
fs.h needs path.h, not namei.h; nfs_fs.h doesn't need it at all. Several places in the tree needed direct include. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfsctl.c1
-rw-r--r--fs/ubifs/file.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index 1955a27..c53e65f 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -12,6 +12,7 @@
#include <linux/time.h>
#include <linux/errno.h>
#include <linux/fs.h>
+#include <linux/namei.h>
#include <linux/fcntl.h>
#include <linux/net.h>
#include <linux/in.h>
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 005a3b8..8565e58 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -53,6 +53,7 @@
#include "ubifs.h"
#include <linux/mount.h>
+#include <linux/namei.h>
static int read_block(struct inode *inode, void *addr, unsigned int block,
struct ubifs_data_node *dn)