]> err.no Git - linux-2.6/commit
[PATCH] VFS: change struct file to use struct path
authorJosef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Fri, 8 Dec 2006 10:36:35 +0000 (02:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:41 +0000 (08:28 -0800)
commit0f7fc9e4d03987fe29f6dd4aa67e4c56eb7ecb05
tree51763269e44eb9bf4d0f8c529577489902850cf9
parentb65d34fd465f19fbe2f32f2205a9a06ca7c2bdeb
[PATCH] VFS: change struct file to use struct path

This patch changes struct file to use struct path instead of having
independent pointers to struct dentry and struct vfsmount, and converts all
users of f_{dentry,vfsmnt} in fs/ to use f_path.{dentry,mnt}.

Additionally, it adds two #define's to make the transition easier for users of
the f_dentry and f_vfsmnt.

Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
32 files changed:
fs/binfmt_aout.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/binfmt_flat.c
fs/binfmt_misc.c
fs/block_dev.c
fs/compat.c
fs/compat_ioctl.c
fs/dnotify.c
fs/dquot.c
fs/eventpoll.c
fs/exec.c
fs/fcntl.c
fs/file_table.c
fs/inode.c
fs/inotify_user.c
fs/ioctl.c
fs/libfs.c
fs/locks.c
fs/namei.c
fs/open.c
fs/pipe.c
fs/read_write.c
fs/readdir.c
fs/seq_file.c
fs/splice.c
fs/stat.c
fs/super.c
fs/sync.c
fs/xattr.c
include/linux/fs.h
include/linux/fsnotify.h