Commit 3f8206d4 authored by Al Viro's avatar Al Viro

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 964bd183
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/namei.h>
#include <linux/fcntl.h> #include <linux/fcntl.h>
#include <linux/net.h> #include <linux/net.h>
#include <linux/in.h> #include <linux/in.h>
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include "ubifs.h" #include "ubifs.h"
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/namei.h>
static int read_block(struct inode *inode, void *addr, unsigned int block, static int read_block(struct inode *inode, void *addr, unsigned int block,
struct ubifs_data_node *dn) struct ubifs_data_node *dn)
......
...@@ -279,7 +279,7 @@ extern int dir_notify_enable; ...@@ -279,7 +279,7 @@ extern int dir_notify_enable;
#include <linux/types.h> #include <linux/types.h>
#include <linux/kdev_t.h> #include <linux/kdev_t.h>
#include <linux/dcache.h> #include <linux/dcache.h>
#include <linux/namei.h> #include <linux/path.h>
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/cache.h> #include <linux/cache.h>
#include <linux/kobject.h> #include <linux/kobject.h>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <linux/in.h> #include <linux/in.h>
#include <linux/kref.h> #include <linux/kref.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/namei.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/rbtree.h> #include <linux/rbtree.h>
#include <linux/rwsem.h> #include <linux/rwsem.h>
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include <linux/delayacct.h> #include <linux/delayacct.h>
#include <linux/cgroupstats.h> #include <linux/cgroupstats.h>
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/namei.h>
#include <asm/atomic.h> #include <asm/atomic.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment