Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43570
b: refs/heads/master
c: 575800b
h: refs/heads/master
v: v3
  • Loading branch information
Josef Sipek authored and Linus Torvalds committed Dec 8, 2006
1 parent 3ddc77a commit f8c3b27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 680b0da9b10d97ddf3c325bf03ae8425ebf4fdec
refs/heads/master: 575800b3ccd51246f6bac3a07e253f72a61d74b9
4 changes: 2 additions & 2 deletions trunk/fs/hpfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -52,7 +52,7 @@ static loff_t hpfs_dir_lseek(struct file *filp, loff_t off, int whence)

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;
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/hpfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static ssize_t hpfs_file_write(struct file *file, const char __user *buf,

retval = do_sync_write(file, buf, count, ppos);
if (retval > 0)
hpfs_i(file->f_dentry->d_inode)->i_dirty = 1;
hpfs_i(file->f_path.dentry->d_inode)->i_dirty = 1;
return retval;
}

Expand Down

0 comments on commit f8c3b27

Please sign in to comment.