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
Kirill Smelkov
linux
Commits
f22608cb
Commit
f22608cb
authored
Jun 21, 2003
by
Kai Mäkisara
Committed by
Paul Mackerras
Jun 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] SCSI tape write error fix
This corrects the back off count so that write errors will not be ignored
parent
77a5fe3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/scsi/st.c
drivers/scsi/st.c
+2
-2
No files found.
drivers/scsi/st.c
View file @
f22608cb
...
@@ -12,13 +12,12 @@
...
@@ -12,13 +12,12 @@
Copyright 1992 - 2003 Kai Makisara
Copyright 1992 - 2003 Kai Makisara
email Kai.Makisara@kolumbus.fi
email Kai.Makisara@kolumbus.fi
Last modified: Sun Apr 13 10:17:18 2003 by makisara
Some small formal changes - aeb, 950809
Some small formal changes - aeb, 950809
Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support
Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support
*/
*/
static
char
*
verstr
=
"20030
413
"
;
static
char
*
verstr
=
"20030
622
"
;
#include <linux/module.h>
#include <linux/module.h>
...
@@ -1555,6 +1554,7 @@ static ssize_t
...
@@ -1555,6 +1554,7 @@ static ssize_t
}
}
}
else
{
}
else
{
filp
->
f_pos
-=
do_count
;
filp
->
f_pos
-=
do_count
;
count
+=
do_count
;
STps
->
drv_block
=
(
-
1
);
/* Too cautious? */
STps
->
drv_block
=
(
-
1
);
/* Too cautious? */
retval
=
(
-
EIO
);
retval
=
(
-
EIO
);
}
}
...
...
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