All of lore.kernel.org
 help / color / mirror / Atom feed
* fsstack: struct path
@ 2006-10-18  4:23 Josef Sipek
  2006-10-18  8:31 ` Andrew Morton
  0 siblings, 1 reply; 13+ messages in thread
From: Josef Sipek @ 2006-10-18  4:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, hch, viro, mhalcrow, penberg, linux-fsdevel

Few weeks ago, I noticed that fs/namei.c defines struct path:

struct path {
	struct vfsmount *mnt;
	struct dentry *dentry;
};

I think it would make sense to move it into include/linux/ as it is quite
useful (and it would discourage the (ab)use of struct nameidata.)

The fsstack code could benefit from it as the stackable fs dentries have to
keep track of the lower dentry as well as the lower vfsmount.

One, rather unfortunate, fact is that struct path is also defined in
include/linux/reiserfs_fs.h as something completely different - reiserfs
specific.

Any thoughts?

Josef "Jeff" Sipek.

-- 
I already backed up the box once, I can do it again.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-10-18 14:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18  4:23 fsstack: struct path Josef Sipek
2006-10-18  8:31 ` Andrew Morton
2006-10-18  8:35   ` Al Viro
2006-10-18 14:38     ` Chris Mason
2006-10-18  8:35   ` Andrew Morton
2006-10-18  9:06     ` Al Viro
2006-10-18  9:12       ` Andrew Morton
2006-10-18  9:22         ` Al Viro
2006-10-18  9:27           ` Paul Jackson
2006-10-18  9:34             ` Al Viro
2006-10-18 10:56               ` Jörn Engel
2006-10-18 10:56                 ` Jörn Engel
2006-10-18 14:39                 ` Erez Zadok

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.