projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-2.6-block.git]
/
drivers
/
scsi
/
st.c
diff --git
a/drivers/scsi/st.c
b/drivers/scsi/st.c
index 98156a97c47259aaaa01df37accbcc8c86e7c27f..3e2b3717cb5cfec32c8b0c622f1ecf424171e47e 100644
(file)
--- a/
drivers/scsi/st.c
+++ b/
drivers/scsi/st.c
@@
-977,7
+977,7
@@
static int check_tape(struct scsi_tape *STp, struct file *filp)
struct st_modedef *STm;
struct st_partstat *STps;
char *name = tape_name(STp);
- struct inode *inode = fil
p->f_path.dentry->d_inode
;
+ struct inode *inode = fil
e_inode(filp)
;
int mode = TAPE_MODE(inode);
STp->ready = ST_READY;