Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43587
b: refs/heads/master
c: c649bb9
h: refs/heads/master
i:
  43585: 5b99f3a
  43583: 0075d49
v: v3
  • Loading branch information
Josef Sipek authored and Linus Torvalds committed Dec 8, 2006
1 parent 23a3b75 commit fdce5d8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 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: 225a719f79fbc4d0cd9d9ebc5b2e3ac0e95845aa
refs/heads/master: c649bb9c55e78dcff0e1383c13d91e0bfc2abb4a
8 changes: 4 additions & 4 deletions trunk/drivers/md/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ char *file_path(struct file *file, char *buf, int count)
if (!buf)
return NULL;

d = file->f_dentry;
v = file->f_vfsmnt;
d = file->f_path.dentry;
v = file->f_path.mnt;

buf = d_path(d, v, buf, count);

Expand Down Expand Up @@ -349,7 +349,7 @@ static struct page *read_page(struct file *file, unsigned long index,
unsigned long count)
{
struct page *page = NULL;
struct inode *inode = file->f_dentry->d_inode;
struct inode *inode = file->f_path.dentry->d_inode;
struct buffer_head *bh;
sector_t block;

Expand Down Expand Up @@ -662,7 +662,7 @@ static void bitmap_file_put(struct bitmap *bitmap)
bitmap_file_unmap(bitmap);

if (file) {
struct inode *inode = file->f_dentry->d_inode;
struct inode *inode = file->f_path.dentry->d_inode;
invalidate_inode_pages(inode->i_mapping);
fput(file);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static int linear_ioctl(struct dm_target *ti, struct inode *inode,
struct dentry fake_dentry = {};

fake_file.f_mode = lc->dev->mode;
fake_file.f_dentry = &fake_dentry;
fake_file.f_path.dentry = &fake_dentry;
fake_dentry.d_inode = bdev->bd_inode;

return blkdev_driver_ioctl(bdev->bd_inode, &fake_file, bdev->bd_disk, cmd, arg);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ static int multipath_ioctl(struct dm_target *ti, struct inode *inode,
struct dentry fake_dentry = {};
int r = 0;

fake_file.f_dentry = &fake_dentry;
fake_file.f_path.dentry = &fake_dentry;

spin_lock_irqsave(&m->lock, flags);

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -4846,8 +4846,8 @@ static int md_seq_show(struct seq_file *seq, void *v)
chunk_kb ? "KB" : "B");
if (bitmap->file) {
seq_printf(seq, ", file: ");
seq_path(seq, bitmap->file->f_vfsmnt,
bitmap->file->f_dentry," \t\n");
seq_path(seq, bitmap->file->f_path.mnt,
bitmap->file->f_path.dentry," \t\n");
}

seq_printf(seq, "\n");
Expand Down

0 comments on commit fdce5d8

Please sign in to comment.