patch-2.4.14 linux/drivers/s390/char/tapeblock.c
Next file: linux/drivers/sbus/char/aurora.c
Previous file: linux/drivers/s390/block/xpram.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Thu Oct 25 13:58:35 2001
- Orig file:
v2.4.13/linux/drivers/s390/char/tapeblock.c
- Orig date:
Sun Aug 12 13:28:00 2001
diff -u --recursive --new-file v2.4.13/linux/drivers/s390/char/tapeblock.c linux/drivers/s390/char/tapeblock.c
@@ -40,6 +40,7 @@
#else
static struct file_operations tapeblock_fops = {
#endif
+ owner : THIS_MODULE,
open : tapeblock_open, /* open */
release : tapeblock_release, /* release */
};
@@ -184,9 +185,6 @@
ti->cqr=NULL;
s390irq_spin_unlock_irqrestore (ti->devinfo.irq, lockflags);
-#ifdef MODULE
- MOD_INC_USE_COUNT;
-#endif /* MODULE */
return 0;
}
@@ -221,9 +219,6 @@
s390irq_spin_lock_irqsave (ti->devinfo.irq, lockflags);
tapestate_set (ti, TS_UNUSED);
s390irq_spin_unlock_irqrestore (ti->devinfo.irq, lockflags);
-#ifdef MODULE
- MOD_DEC_USE_COUNT;
-#endif /* MODULE */
invalidate_buffers(inode->i_rdev);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)