diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 02:37:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:45 -0800 |
commit | 575800b3ccd51246f6bac3a07e253f72a61d74b9 (patch) | |
tree | ce63a5b8734979a11bf4b534237a22e7a8430e0d /fs/hpfs/dir.c | |
parent | 680b0da9b10d97ddf3c325bf03ae8425ebf4fdec (diff) | |
download | linux-stable-575800b3ccd51246f6bac3a07e253f72a61d74b9.tar.gz linux-stable-575800b3ccd51246f6bac3a07e253f72a61d74b9.tar.bz2 linux-stable-575800b3ccd51246f6bac3a07e253f72a61d74b9.zip |
[PATCH] struct path: convert hpfs
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/hpfs/dir.c')
-rw-r--r-- | fs/hpfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c index 594f9c428fc2..6916c41d7017 100644 --- a/fs/hpfs/dir.c +++ b/fs/hpfs/dir.c @@ -24,7 +24,7 @@ static loff_t hpfs_dir_lseek(struct file *filp, loff_t off, int whence) loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); loff_t pos; struct quad_buffer_head qbh; - struct inode *i = filp->f_dentry->d_inode; + struct inode *i = filp->f_path.dentry->d_inode; struct hpfs_inode_info *hpfs_inode = hpfs_i(i); struct super_block *s = i->i_sb; @@ -52,7 +52,7 @@ fail: static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir) { - struct inode *inode = filp->f_dentry->d_inode; + struct inode *inode = filp->f_path.dentry->d_inode; struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); struct quad_buffer_head qbh; struct hpfs_dirent *de; |