head	1.1;
access;
symbols
	LKML-branch:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2006.10.24.06.05.37;	author jsipek;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2006.10.24.06.05.37;	author jsipek;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2007.01.05.08.33.49;	author jsipek;	state dead;
branches;
next	;


desc
@@


1.1
log
@file struct_file-ext2 was initially added on branch LKML-branch.
@
text
@@


1.1.2.1
log
@Move patches already in mm into a subdir
@
text
@a0 29
ext2: change uses of f_{dentry,vfsmnt} to use f_path

This patch changes all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt}
in the ext2 filesystem.

diff -r 18ce4e39d58f fs/ext2/dir.c
--- a/fs/ext2/dir.c	Thu Oct 19 13:05:18 2006 -0400
+++ b/fs/ext2/dir.c	Thu Oct 19 13:05:53 2006 -0400
@@@@ -248,7 +248,7 @@@@ ext2_readdir (struct file * filp, void *
 ext2_readdir (struct file * filp, void * dirent, filldir_t filldir)
 {
 	loff_t pos = filp->f_pos;
-	struct inode *inode = filp->f_dentry->d_inode;
+	struct inode *inode = filp->f_path.dentry->d_inode;
 	struct super_block *sb = inode->i_sb;
 	unsigned int offset = pos & ~PAGE_CACHE_MASK;
 	unsigned long n = pos >> PAGE_CACHE_SHIFT;
diff -r 18ce4e39d58f fs/ext2/ioctl.c
--- a/fs/ext2/ioctl.c	Thu Oct 19 13:05:18 2006 -0400
+++ b/fs/ext2/ioctl.c	Thu Oct 19 13:06:01 2006 -0400
@@@@ -86,7 +86,7 @@@@ int ext2_ioctl (struct inode * inode, st
 #ifdef CONFIG_COMPAT
 long ext2_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 {
-	struct inode *inode = file->f_dentry->d_inode;
+	struct inode *inode = file->f_path.dentry->d_inode;
 	int ret;
 
 	/* These are just misnamed, they actually get/put from/to user an int */
@


1.1.2.2
log
@Removed many patches already in vanilla
@
text
@@


