Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43555
b: refs/heads/master
c: 6c648be
h: refs/heads/master
i:
  43553: 3db0d75
  43551: 24ff7c8
v: v3
  • Loading branch information
Josef Sipek authored and Linus Torvalds committed Dec 8, 2006
1 parent 4772c1a commit f35ddea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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: c5a20b6c26efb58c2ba2ebebcc65748f5b92f662
refs/heads/master: 6c648be6f4183775679c1f2cc4d094128f104fb2
4 changes: 2 additions & 2 deletions trunk/drivers/block/acsi_slm.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ static ssize_t slm_read( struct file *file, char *buf, size_t count,
loff_t *ppos )

{
struct inode *node = file->f_dentry->d_inode;
struct inode *node = file->f_path.dentry->d_inode;
unsigned long page;
int length;
int end;
Expand Down Expand Up @@ -618,7 +618,7 @@ static ssize_t slm_write( struct file *file, const char *buf, size_t count,
loff_t *ppos )

{
struct inode *node = file->f_dentry->d_inode;
struct inode *node = file->f_path.dentry->d_inode;
int device = iminor(node);
int n, filled, w, h;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ static int do_ioctl(struct file *f, unsigned cmd, unsigned long arg)
{
int ret;
lock_kernel();
ret = cciss_ioctl(f->f_dentry->d_inode, f, cmd, arg);
ret = cciss_ioctl(f->f_path.dentry->d_inode, f, cmd, arg);
unlock_kernel();
return ret;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/block/loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ loop_get_status(struct loop_device *lo, struct loop_info64 *info)

if (lo->lo_state != Lo_bound)
return -ENXIO;
error = vfs_getattr(file->f_vfsmnt, file->f_dentry, &stat);
error = vfs_getattr(file->f_path.mnt, file->f_path.dentry, &stat);
if (error)
return error;
memset(info, 0, sizeof(*info));
Expand Down Expand Up @@ -1287,7 +1287,7 @@ loop_get_status_compat(struct loop_device *lo,

static long lo_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;
struct loop_device *lo = inode->i_bdev->bd_disk->private_data;
int err;

Expand Down

0 comments on commit f35ddea

Please sign in to comment.