Is the patch below correct?
> Alan
cu
Adrian
--- linux-2.5.54/drivers/char/ftape/zftape/zftape-ctl.h.old 2003-01-06 14:23:51.000000000 +0100
+++ linux-2.5.54/drivers/char/ftape/zftape/zftape-ctl.h 2003-01-06 14:24:02.000000000 +0100
@@ -47,7 +47,6 @@
extern void zft_reset_position(zft_position *pos);
extern int zft_check_write_access(zft_position *pos);
extern int zft_def_idle_state(void);
-extern int zft_dirty(void);
/* hooks for the VFS interface
*/
--- linux-2.5.54/drivers/char/ftape/zftape/zftape-ctl.c.old 2003-01-06 14:22:49.000000000 +0100
+++ linux-2.5.54/drivers/char/ftape/zftape/zftape-ctl.c 2003-01-06 14:23:43.000000000 +0100
@@ -790,13 +790,6 @@
zft_uninit_mem();
going_offline = 0;
zft_offline = 1;
- } else if (zft_dirty()) {
- TRACE(ft_t_noise, "Keeping module locked in memory because:\n"
- KERN_INFO "header segments need updating: %s\n"
- KERN_INFO "tape not at BOT : %s",
- (zft_volume_table_changed || zft_header_changed)
- ? "yes" : "no",
- zft_tape_at_lbot(&zft_pos) ? "no" : "yes");
} else if (zft_cmpr_lock(0 /* don't load */) == 0) {
(*zft_cmpr_ops->reset)(); /* unlock it again */
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/