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
f18d7a18
Commit
f18d7a18
authored
Nov 18, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
7c4f750a
31827e50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+2
-2
drivers/scsi/scsi_scan.c
drivers/scsi/scsi_scan.c
+2
-2
fs/compat.c
fs/compat.c
+8
-3
No files found.
arch/sparc64/kernel/systbls.S
View file @
f18d7a18
...
...
@@ -65,8 +65,8 @@ sys_call_table32:
.
word
sys32_ipc
,
sys32_sigreturn
,
sys_clone
,
sys_nis_syscall
,
sys32_adjtimex
/*
220
*/
.
word
compat_sys_sigprocmask
,
sys_ni_syscall
,
sys32_delete_module
,
sys_ni_syscall
,
sys_getpgid
.
word
sys32_bdflush
,
sys32_sysfs
,
sys_nis_syscall
,
sys32_setfsuid16
,
sys32_setfsgid16
/*
230
*/
.
word
sys32_select
,
sys_time
,
sys_nis_syscall
,
sys_stime
,
sys
_statfs64
.
word
sys
_fstatfs64
,
sys_llseek
,
sys_mlock
,
sys_munlock
,
sys_mlockall
/*
230
*/
.
word
sys32_select
,
sys_time
,
sys_nis_syscall
,
sys_stime
,
compat
_statfs64
.
word
compat
_fstatfs64
,
sys_llseek
,
sys_mlock
,
sys_munlock
,
sys_mlockall
/*
240
*/
.
word
sys_munlockall
,
sys_sched_setparam
,
sys_sched_getparam
,
sys_sched_setscheduler
,
sys_sched_getscheduler
.
word
sys_sched_yield
,
sys_sched_get_priority_max
,
sys_sched_get_priority_min
,
sys32_sched_rr_get_interval
,
compat_sys_nanosleep
/*
250
*/
.
word
sys32_mremap
,
sys32_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys32_nfsservctl
...
...
drivers/scsi/scsi_scan.c
View file @
f18d7a18
...
...
@@ -899,7 +899,7 @@ static int scsi_report_lun_scan(struct scsi_device *sdev, int bflags,
unsigned
int
retries
;
struct
scsi_lun
*
lunp
,
*
lun_data
;
struct
scsi_request
*
sreq
;
char
*
data
;
u8
*
data
;
/*
* Only support SCSI-3 and up devices.
...
...
@@ -990,7 +990,7 @@ static int scsi_report_lun_scan(struct scsi_device *sdev, int bflags,
/*
* Get the length from the first four bytes of lun_data.
*/
data
=
(
char
*
)
lun_data
->
scsi_lun
;
data
=
(
u8
*
)
lun_data
->
scsi_lun
;
length
=
((
data
[
0
]
<<
24
)
|
(
data
[
1
]
<<
16
)
|
(
data
[
2
]
<<
8
)
|
(
data
[
3
]
<<
0
));
...
...
fs/compat.c
View file @
f18d7a18
...
...
@@ -169,7 +169,6 @@ asmlinkage long compat_sys_fstatfs(unsigned int fd, struct compat_statfs *buf)
static
int
put_compat_statfs64
(
struct
compat_statfs64
*
ubuf
,
struct
kstatfs
*
kbuf
)
{
if
(
sizeof
ubuf
->
f_blocks
==
4
)
{
if
((
kbuf
->
f_blocks
|
kbuf
->
f_bfree
|
kbuf
->
f_bavail
|
kbuf
->
f_files
|
kbuf
->
f_ffree
)
&
...
...
@@ -192,11 +191,14 @@ static int put_compat_statfs64(struct compat_statfs64 *ubuf, struct kstatfs *kbu
return
0
;
}
asmlinkage
long
compat_statfs64
(
const
char
*
path
,
struct
compat_statfs64
*
buf
)
asmlinkage
long
compat_statfs64
(
const
char
*
path
,
compat_size_t
sz
,
struct
compat_statfs64
*
buf
)
{
struct
nameidata
nd
;
int
error
;
if
(
sz
!=
sizeof
(
*
buf
))
return
-
EINVAL
;
error
=
user_path_walk
(
path
,
&
nd
);
if
(
!
error
)
{
struct
kstatfs
tmp
;
...
...
@@ -208,12 +210,15 @@ asmlinkage long compat_statfs64(const char *path, struct compat_statfs64 *buf)
return
error
;
}
asmlinkage
long
compat_fstatfs64
(
unsigned
int
fd
,
struct
compat_statfs64
*
buf
)
asmlinkage
long
compat_fstatfs64
(
unsigned
int
fd
,
compat_size_t
sz
,
struct
compat_statfs64
*
buf
)
{
struct
file
*
file
;
struct
kstatfs
tmp
;
int
error
;
if
(
sz
!=
sizeof
(
*
buf
))
return
-
EINVAL
;
error
=
-
EBADF
;
file
=
fget
(
fd
);
if
(
!
file
)
...
...
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