Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5672df00
Commit
5672df00
authored
Jan 05, 2003
by
Adrian Bunk
Committed by
Linus Torvalds
Jan 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Remove stale zft_dirty() caller and declaration
parent
8f701a3e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
drivers/char/ftape/zftape/zftape-ctl.c
drivers/char/ftape/zftape/zftape-ctl.c
+0
-7
drivers/char/ftape/zftape/zftape-ctl.h
drivers/char/ftape/zftape/zftape-ctl.h
+0
-1
No files found.
drivers/char/ftape/zftape/zftape-ctl.c
View file @
5672df00
...
@@ -790,13 +790,6 @@ int _zft_close(void)
...
@@ -790,13 +790,6 @@ int _zft_close(void)
zft_uninit_mem
();
zft_uninit_mem
();
going_offline
=
0
;
going_offline
=
0
;
zft_offline
=
1
;
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
)
{
}
else
if
(
zft_cmpr_lock
(
0
/* don't load */
)
==
0
)
{
(
*
zft_cmpr_ops
->
reset
)();
/* unlock it again */
(
*
zft_cmpr_ops
->
reset
)();
/* unlock it again */
}
}
...
...
drivers/char/ftape/zftape/zftape-ctl.h
View file @
5672df00
...
@@ -47,7 +47,6 @@ extern int zft_resid;
...
@@ -47,7 +47,6 @@ extern int zft_resid;
extern
void
zft_reset_position
(
zft_position
*
pos
);
extern
void
zft_reset_position
(
zft_position
*
pos
);
extern
int
zft_check_write_access
(
zft_position
*
pos
);
extern
int
zft_check_write_access
(
zft_position
*
pos
);
extern
int
zft_def_idle_state
(
void
);
extern
int
zft_def_idle_state
(
void
);
extern
int
zft_dirty
(
void
);
/* hooks for the VFS interface
/* hooks for the VFS interface
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment