Commit 5672df00 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] Remove stale zft_dirty() caller and declaration

parent 8f701a3e
......@@ -790,13 +790,6 @@ int _zft_close(void)
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 */
}
......
......@@ -47,7 +47,6 @@ extern int zft_resid;
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
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment