diff options
author | Josef Sipek | 2006-12-08 11:36:55 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-12-08 17:28:44 +0100 |
commit | 6c648be6f4183775679c1f2cc4d094128f104fb2 (patch) | |
tree | e07bf394a8737050574f67bb8afc000c79d91d9d /drivers/block/acsi_slm.c | |
parent | [PATCH] struct path: convert block (diff) | |
download | kernel-qcow2-linux-6c648be6f4183775679c1f2cc4d094128f104fb2.tar.gz kernel-qcow2-linux-6c648be6f4183775679c1f2cc4d094128f104fb2.tar.xz kernel-qcow2-linux-6c648be6f4183775679c1f2cc4d094128f104fb2.zip |
[PATCH] struct path: convert block_drivers
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 'drivers/block/acsi_slm.c')
-rw-r--r-- | drivers/block/acsi_slm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/acsi_slm.c b/drivers/block/acsi_slm.c index 8e41c87b026e..e04be94d195c 100644 --- a/drivers/block/acsi_slm.c +++ b/drivers/block/acsi_slm.c @@ -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; @@ -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; |