diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-26 03:46:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-26 20:53:42 -0400 |
commit | 3f8206d496e9e9495afb1d4e70d29712b4d403c9 (patch) | |
tree | 5bedea1aff8b5e584fbf8497c80fcaccf9242d69 /include/linux | |
parent | 964bd183624c03680796b63b4ab97ee3905a806a (diff) |
[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 'include/linux')
-rw-r--r-- | include/linux/fs.h | 2 | ||||
-rw-r--r-- | include/linux/nfs_fs.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 7676fa1c20ae..8252b045e624 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -279,7 +279,7 @@ extern int dir_notify_enable; | |||
279 | #include <linux/types.h> | 279 | #include <linux/types.h> |
280 | #include <linux/kdev_t.h> | 280 | #include <linux/kdev_t.h> |
281 | #include <linux/dcache.h> | 281 | #include <linux/dcache.h> |
282 | #include <linux/namei.h> | 282 | #include <linux/path.h> |
283 | #include <linux/stat.h> | 283 | #include <linux/stat.h> |
284 | #include <linux/cache.h> | 284 | #include <linux/cache.h> |
285 | #include <linux/kobject.h> | 285 | #include <linux/kobject.h> |
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index f08f9ca602af..78a5922a2f11 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/in.h> | 42 | #include <linux/in.h> |
43 | #include <linux/kref.h> | 43 | #include <linux/kref.h> |
44 | #include <linux/mm.h> | 44 | #include <linux/mm.h> |
45 | #include <linux/namei.h> | ||
46 | #include <linux/pagemap.h> | 45 | #include <linux/pagemap.h> |
47 | #include <linux/rbtree.h> | 46 | #include <linux/rbtree.h> |
48 | #include <linux/rwsem.h> | 47 | #include <linux/rwsem.h> |