summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJosef "Jeff" Sipek2006-12-08 11:36:34 +0100
committerLinus Torvalds2006-12-08 17:28:40 +0100
commit346f20ff6020ffa11d40b789069079c56a444ae6 (patch)
tree4828582ab5d8fe865de5a6b1524670963de9acaf /fs
parent[PATCH] struct path: rename DM's struct path (diff)
downloadkernel-qcow2-linux-346f20ff6020ffa11d40b789069079c56a444ae6.tar.gz
kernel-qcow2-linux-346f20ff6020ffa11d40b789069079c56a444ae6.tar.xz
kernel-qcow2-linux-346f20ff6020ffa11d40b789069079c56a444ae6.zip
[PATCH] struct path: move struct path from fs/namei.c into include/linux
Moved struct path from fs/namei.c to include/linux/namei.h. This allows many places in the VFS, as well as any stackable filesystem to easily keep track of dentry-vfsmount pairs. Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/namei.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/namei.c b/fs/namei.c
index db1bca26d88c..8c2db88bb20d 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -572,11 +572,6 @@ fail:
return PTR_ERR(link);
}
-struct path {
- struct vfsmount *mnt;
- struct dentry *dentry;
-};
-
static inline void dput_path(struct path *path, struct nameidata *nd)
{
dput(path->dentry);