diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:45 -0500 |
commit | 575800b3ccd51246f6bac3a07e253f72a61d74b9 (patch) | |
tree | ce63a5b8734979a11bf4b534237a22e7a8430e0d /fs/hpfs | |
parent | 680b0da9b10d97ddf3c325bf03ae8425ebf4fdec (diff) |
[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')
-rw-r--r-- | fs/hpfs/dir.c | 4 | ||||
-rw-r--r-- | fs/hpfs/file.c | 2 |
2 files changed, 3 insertions, 3 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) | |||
24 | loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); | 24 | loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); |
25 | loff_t pos; | 25 | loff_t pos; |
26 | struct quad_buffer_head qbh; | 26 | struct quad_buffer_head qbh; |
27 | struct inode *i = filp->f_dentry->d_inode; | 27 | struct inode *i = filp->f_path.dentry->d_inode; |
28 | struct hpfs_inode_info *hpfs_inode = hpfs_i(i); | 28 | struct hpfs_inode_info *hpfs_inode = hpfs_i(i); |
29 | struct super_block *s = i->i_sb; | 29 | struct super_block *s = i->i_sb; |
30 | 30 | ||
@@ -52,7 +52,7 @@ fail: | |||
52 | 52 | ||
53 | static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir) | 53 | static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir) |
54 | { | 54 | { |
55 | struct inode *inode = filp->f_dentry->d_inode; | 55 | struct inode *inode = filp->f_path.dentry->d_inode; |
56 | struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); | 56 | struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); |
57 | struct quad_buffer_head qbh; | 57 | struct quad_buffer_head qbh; |
58 | struct hpfs_dirent *de; | 58 | struct hpfs_dirent *de; |
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c index 8b94d24855f0..fb4c8915010a 100644 --- a/fs/hpfs/file.c +++ b/fs/hpfs/file.c | |||
@@ -115,7 +115,7 @@ static ssize_t hpfs_file_write(struct file *file, const char __user *buf, | |||
115 | 115 | ||
116 | retval = do_sync_write(file, buf, count, ppos); | 116 | retval = do_sync_write(file, buf, count, ppos); |
117 | if (retval > 0) | 117 | if (retval > 0) |
118 | hpfs_i(file->f_dentry->d_inode)->i_dirty = 1; | 118 | hpfs_i(file->f_path.dentry->d_inode)->i_dirty = 1; |
119 | return retval; | 119 | return retval; |
120 | } | 120 | } |
121 | 121 | ||