[PATCH] struct path: convert scsi
[deliverable/linux.git] / drivers / scsi / st.c
index 587274dd70596a18d7eda3f9326bd8220a9ec017..e016e0906e1a99aa2a26728e3b9238213aafd97b 100644 (file)
@@ -922,7 +922,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 = filp->f_dentry->d_inode;
+       struct inode *inode = filp->f_path.dentry->d_inode;
        int mode = TAPE_MODE(inode);
 
        STp->ready = ST_READY;
This page took 0.03088 seconds and 5 git commands to generate.