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
ae8f5470
Commit
ae8f5470
authored
Jul 13, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/davem/BK/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
038403f6
f7ed0f88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/scsi/aic7xxx_old.c
drivers/scsi/aic7xxx_old.c
+2
-2
fs/partitions/check.c
fs/partitions/check.c
+2
-2
fs/quota_v2.c
fs/quota_v2.c
+1
-1
No files found.
drivers/scsi/aic7xxx_old.c
View file @
ae8f5470
...
@@ -3070,7 +3070,7 @@ aic7xxx_done(struct aic7xxx_host *p, struct aic7xxx_scb *scb)
...
@@ -3070,7 +3070,7 @@ aic7xxx_done(struct aic7xxx_host *p, struct aic7xxx_scb *scb)
* we check data_cmnd[0]. This catches the conditions for st.c, but
* we check data_cmnd[0]. This catches the conditions for st.c, but
* I'm still not sure if request.cmd is valid for sg devices.
* I'm still not sure if request.cmd is valid for sg devices.
*/
*/
if
(
(
rq_data_dir
(
&
cmd
->
request
)
==
WRITE
)
||
(
cmd
->
data_cmnd
[
0
]
==
WRITE_6
)
||
if
(
(
rq_data_dir
(
cmd
->
request
)
==
WRITE
)
||
(
cmd
->
data_cmnd
[
0
]
==
WRITE_6
)
||
(
cmd
->
data_cmnd
[
0
]
==
WRITE_FILEMARKS
)
)
(
cmd
->
data_cmnd
[
0
]
==
WRITE_FILEMARKS
)
)
{
{
sp
->
w_total
++
;
sp
->
w_total
++
;
...
@@ -4280,7 +4280,7 @@ aic7xxx_calculate_residual (struct aic7xxx_host *p, struct aic7xxx_scb *scb)
...
@@ -4280,7 +4280,7 @@ aic7xxx_calculate_residual (struct aic7xxx_host *p, struct aic7xxx_scb *scb)
{
{
printk
(
INFO_LEAD
"Underflow - Wanted %u, %s %u, residual SG "
printk
(
INFO_LEAD
"Underflow - Wanted %u, %s %u, residual SG "
"count %d.
\n
"
,
p
->
host_no
,
CTL_OF_SCB
(
scb
),
cmd
->
underflow
,
"count %d.
\n
"
,
p
->
host_no
,
CTL_OF_SCB
(
scb
),
cmd
->
underflow
,
(
rq_data_dir
(
&
cmd
->
request
)
==
WRITE
)
?
"wrote"
:
"read"
,
actual
,
(
rq_data_dir
(
cmd
->
request
)
==
WRITE
)
?
"wrote"
:
"read"
,
actual
,
hscb
->
residual_SG_segment_count
);
hscb
->
residual_SG_segment_count
);
printk
(
INFO_LEAD
"status 0x%x.
\n
"
,
p
->
host_no
,
CTL_OF_SCB
(
scb
),
printk
(
INFO_LEAD
"status 0x%x.
\n
"
,
p
->
host_no
,
CTL_OF_SCB
(
scb
),
hscb
->
target_status
);
hscb
->
target_status
);
...
...
fs/partitions/check.c
View file @
ae8f5470
...
@@ -226,7 +226,7 @@ static ssize_t partition_device_kdev_read(struct device *driverfs_dev,
...
@@ -226,7 +226,7 @@ static ssize_t partition_device_kdev_read(struct device *driverfs_dev,
char
*
page
,
size_t
count
,
loff_t
off
)
char
*
page
,
size_t
count
,
loff_t
off
)
{
{
kdev_t
kdev
;
kdev_t
kdev
;
kdev
.
value
=
(
int
)
driverfs_dev
->
driver_data
;
kdev
.
value
=
(
int
)
(
long
)
driverfs_dev
->
driver_data
;
return
off
?
0
:
sprintf
(
page
,
"%x
\n
"
,
kdev
.
value
);
return
off
?
0
:
sprintf
(
page
,
"%x
\n
"
,
kdev
.
value
);
}
}
static
struct
driver_file_entry
partition_device_kdev_file
=
{
static
struct
driver_file_entry
partition_device_kdev_file
=
{
...
@@ -285,7 +285,7 @@ void driverfs_create_partitions(struct gendisk *hd, int minor)
...
@@ -285,7 +285,7 @@ void driverfs_create_partitions(struct gendisk *hd, int minor)
current_driverfs_dev
->
parent
=
parent
;
current_driverfs_dev
->
parent
=
parent
;
/* handle disc case */
/* handle disc case */
current_driverfs_dev
->
driver_data
=
current_driverfs_dev
->
driver_data
=
(
void
*
)
__mkdev
(
hd
->
major
,
minor
+
part
);
(
void
*
)
(
long
)
__mkdev
(
hd
->
major
,
minor
+
part
);
if
(
part
==
0
)
{
if
(
part
==
0
)
{
if
(
parent
)
{
if
(
parent
)
{
sprintf
(
current_driverfs_dev
->
name
,
sprintf
(
current_driverfs_dev
->
name
,
...
...
fs/quota_v2.c
View file @
ae8f5470
...
@@ -413,7 +413,7 @@ static int v2_write_dquot(struct dquot *dquot)
...
@@ -413,7 +413,7 @@ static int v2_write_dquot(struct dquot *dquot)
if
(
!
dquot
->
dq_off
)
if
(
!
dquot
->
dq_off
)
if
((
ret
=
dq_insert_tree
(
dquot
))
<
0
)
{
if
((
ret
=
dq_insert_tree
(
dquot
))
<
0
)
{
printk
(
KERN_ERR
"VFS: Error %d occured while creating quota.
\n
"
,
ret
);
printk
(
KERN_ERR
"VFS: Error %
Z
d occured while creating quota.
\n
"
,
ret
);
return
ret
;
return
ret
;
}
}
filp
=
sb_dqopt
(
dquot
->
dq_sb
)
->
files
[
type
];
filp
=
sb_dqopt
(
dquot
->
dq_sb
)
->
files
[
type
];
...
...
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