On Fri, Aug 10, 2007 at 04:22:12PM +0200, Andreas Gruenbacher wrote:
> * Move the definition of struct path into <linux/path.h>.
>
> * Use struct path in fs_struct. This allows to use pathget and
> pathput on a fs_struct.
Looks good.
Btw, WTF are pnpbios and sound looking at fs_struct? They have no
right to poke there at all.
> --- /dev/null
> +++ b/include/linux/path.h
> @@ -0,0 +1,12 @@
> +#ifndef _LINUX_PATH_H
> +#define _LINUX_PATH_H
> +
> +struct dentry;
> +struct vfsmount;
> +
> +struct path {
> + struct vfsmount *mnt;
> + struct dentry *dentry;
> +};
> +
> +#endif /* _LINUX_PATH_H */
This header should probably also have the prototypes for pathget/pathput
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]