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
b8605517
Commit
b8605517
authored
Nov 23, 2007
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import 2.1.55
parent
47844733
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
18 deletions
+28
-18
Makefile
Makefile
+1
-1
arch/i386/kernel/entry.S
arch/i386/kernel/entry.S
+10
-10
drivers/char/Config.in
drivers/char/Config.in
+1
-1
drivers/scsi/Config.in
drivers/scsi/Config.in
+1
-1
fs/affs/inode.c
fs/affs/inode.c
+1
-1
fs/ext2/ialloc.c
fs/ext2/ialloc.c
+2
-1
fs/inode.c
fs/inode.c
+10
-1
fs/minix/bitmap.c
fs/minix/bitmap.c
+1
-1
fs/sysv/ialloc.c
fs/sysv/ialloc.c
+1
-1
No files found.
Makefile
View file @
b8605517
VERSION
=
2
PATCHLEVEL
=
1
SUBLEVEL
=
5
4
SUBLEVEL
=
5
5
ARCH
:=
$(
shell
uname
-m
|
sed
-e
s/i.86/i386/
-e
s/sun4u/sparc64/
)
...
...
arch/i386/kernel/entry.S
View file @
b8605517
...
...
@@ -373,7 +373,7 @@ ENTRY(sys_call_table)
.
long
SYMBOL_NAME
(
sys_mknod
)
.
long
SYMBOL_NAME
(
sys_chmod
)
/*
15
*/
.
long
SYMBOL_NAME
(
sys_chown
)
.
long
0
/*
old
break
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
break
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_stat
)
.
long
SYMBOL_NAME
(
sys_lseek
)
.
long
SYMBOL_NAME
(
sys_getpid
)
/*
20
*/
...
...
@@ -387,11 +387,11 @@ ENTRY(sys_call_table)
.
long
SYMBOL_NAME
(
sys_fstat
)
.
long
SYMBOL_NAME
(
sys_pause
)
.
long
SYMBOL_NAME
(
sys_utime
)
/*
30
*/
.
long
0
/*
old
stty
syscall
holder
*/
.
long
0
/*
old
gtty
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
stty
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
gtty
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_access
)
.
long
SYMBOL_NAME
(
sys_nice
)
.
long
0
/*
35
*/
/*
old
ftime
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
35
*/
/*
old
ftime
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_sync
)
.
long
SYMBOL_NAME
(
sys_kill
)
.
long
SYMBOL_NAME
(
sys_rename
)
...
...
@@ -400,7 +400,7 @@ ENTRY(sys_call_table)
.
long
SYMBOL_NAME
(
sys_dup
)
.
long
SYMBOL_NAME
(
sys_pipe
)
.
long
SYMBOL_NAME
(
sys_times
)
.
long
0
/*
old
prof
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
prof
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_brk
)
/*
45
*/
.
long
SYMBOL_NAME
(
sys_setgid
)
.
long
SYMBOL_NAME
(
sys_getgid
)
...
...
@@ -408,13 +408,13 @@ ENTRY(sys_call_table)
.
long
SYMBOL_NAME
(
sys_geteuid
)
.
long
SYMBOL_NAME
(
sys_getegid
)
/*
50
*/
.
long
SYMBOL_NAME
(
sys_acct
)
.
long
0
/*
old
phys
syscall
holder
*/
.
long
0
/*
old
lock
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
phys
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
lock
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ioctl
)
.
long
SYMBOL_NAME
(
sys_fcntl
)
/*
55
*/
.
long
0
/*
old
mpx
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
mpx
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_setpgid
)
.
long
0
/*
old
ulimit
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
ulimit
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_olduname
)
.
long
SYMBOL_NAME
(
sys_umask
)
/*
60
*/
.
long
SYMBOL_NAME
(
sys_chroot
)
...
...
@@ -454,7 +454,7 @@ ENTRY(sys_call_table)
.
long
SYMBOL_NAME
(
sys_fchown
)
/*
95
*/
.
long
SYMBOL_NAME
(
sys_getpriority
)
.
long
SYMBOL_NAME
(
sys_setpriority
)
.
long
0
/*
old
profil
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_ni_syscall
)
/*
old
profil
syscall
holder
*/
.
long
SYMBOL_NAME
(
sys_statfs
)
.
long
SYMBOL_NAME
(
sys_fstatfs
)
/*
100
*/
.
long
SYMBOL_NAME
(
sys_ioperm
)
...
...
drivers/char/Config.in
View file @
b8605517
...
...
@@ -104,7 +104,7 @@ if [ "$CONFIG_WATCHDOG" != "n" ]; then
tristate ' Acquire SBC Watchdog Timer' CONFIG_ACQUIRE_WDT
fi
bool 'Enhanced Real Time Clock Support' CONFIG_RTC
if [ "$CONFIG_PPC" =
=
"y" ]; then
if [ "$CONFIG_PPC" = "y" ]; then
bool 'Tadpole ANA H8 Support' CONFIG_H8
fi
tristate '/dev/nvram support' CONFIG_NVRAM
...
...
drivers/scsi/Config.in
View file @
b8605517
...
...
@@ -108,7 +108,7 @@ dep_tristate 'UltraStor 14F/34F support' CONFIG_SCSI_U14_34F $CONFIG_SCSI
fi
dep_tristate 'UltraStor SCSI support' CONFIG_SCSI_ULTRASTOR $CONFIG_SCSI
#dep_tristate 'SCSI debugging host adapter' CONFIG_SCSI_DEBUG $CONFIG_SCSI
if [ "$CONFIG_PPC" =
=
"y" ]; then
if [ "$CONFIG_PPC" = "y" ]; then
dep_tristate 'MESH (Power Mac internal SCSI) support' CONFIG_SCSI_MESH $CONFIG_SCSI
if [ "$CONFIG_SCSI_MESH" != "n" ]; then
int ' maximum synchronous transfer rate (MB/s) (0 = async)' CONFIG_SCSI_MESH_SYNC_RATE 5
...
...
fs/affs/inode.c
View file @
b8605517
...
...
@@ -908,7 +908,6 @@ affs_new_inode(const struct inode *dir)
inode
->
i_dev
=
sb
->
s_dev
;
inode
->
i_uid
=
current
->
fsuid
;
inode
->
i_gid
=
current
->
fsgid
;
mark_inode_dirty
(
inode
);
inode
->
i_ino
=
block
;
inode
->
i_op
=
NULL
;
inode
->
i_blocks
=
0
;
...
...
@@ -928,6 +927,7 @@ affs_new_inode(const struct inode *dir)
inode
->
u
.
affs_i
.
i_lastblock
=
-
1
;
insert_inode_hash
(
inode
);
mark_inode_dirty
(
inode
);
return
inode
;
}
...
...
fs/ext2/ialloc.c
View file @
b8605517
...
...
@@ -448,7 +448,7 @@ struct inode * ext2_new_inode (const struct inode * dir, int mode, int * err)
mode
|=
S_ISGID
;
}
else
inode
->
i_gid
=
current
->
fsgid
;
mark_inode_dirty
(
inode
);
inode
->
i_ino
=
j
;
inode
->
i_blksize
=
PAGE_SIZE
;
/* This is the optimal IO size (for stat), not the fs block size */
inode
->
i_blocks
=
0
;
...
...
@@ -468,6 +468,7 @@ struct inode * ext2_new_inode (const struct inode * dir, int mode, int * err)
if
(
inode
->
u
.
ext2_i
.
i_flags
&
EXT2_SYNC_FL
)
inode
->
i_flags
|=
MS_SYNCHRONOUS
;
insert_inode_hash
(
inode
);
mark_inode_dirty
(
inode
);
inc_inode_version
(
inode
,
gdp
,
mode
);
unlock_super
(
sb
);
...
...
fs/inode.c
View file @
b8605517
...
...
@@ -62,7 +62,16 @@ struct {
int
max_inodes
=
NR_INODE
;
/*
* Put the inode on the super block's dirty list
* Put the inode on the super block's dirty list.
*
* CAREFUL! We mark it dirty unconditionally, but
* move it onto the dirty list only if it is hashed.
* If it was not hashed, it will never be added to
* the dirty list even if it is later hashed, as it
* will have been marked dirty already.
*
* In short, make sure you hash any inodes _before_
* you start marking them dirty..
*/
void
__mark_inode_dirty
(
struct
inode
*
inode
)
{
...
...
fs/minix/bitmap.c
View file @
b8605517
...
...
@@ -255,12 +255,12 @@ struct inode * minix_new_inode(const struct inode * dir)
inode
->
i_dev
=
sb
->
s_dev
;
inode
->
i_uid
=
current
->
fsuid
;
inode
->
i_gid
=
(
dir
->
i_mode
&
S_ISGID
)
?
dir
->
i_gid
:
current
->
fsgid
;
mark_inode_dirty
(
inode
);
inode
->
i_ino
=
j
;
inode
->
i_mtime
=
inode
->
i_atime
=
inode
->
i_ctime
=
CURRENT_TIME
;
inode
->
i_op
=
NULL
;
inode
->
i_blocks
=
inode
->
i_blksize
=
0
;
insert_inode_hash
(
inode
);
mark_inode_dirty
(
inode
);
return
inode
;
}
...
...
fs/sysv/ialloc.c
View file @
b8605517
...
...
@@ -154,12 +154,12 @@ struct inode * sysv_new_inode(const struct inode * dir)
inode
->
i_dev
=
sb
->
s_dev
;
inode
->
i_uid
=
current
->
fsuid
;
inode
->
i_gid
=
(
dir
->
i_mode
&
S_ISGID
)
?
dir
->
i_gid
:
current
->
fsgid
;
mark_inode_dirty
(
inode
);
inode
->
i_ino
=
ino
;
inode
->
i_mtime
=
inode
->
i_atime
=
inode
->
i_ctime
=
CURRENT_TIME
;
inode
->
i_op
=
NULL
;
inode
->
i_blocks
=
inode
->
i_blksize
=
0
;
insert_inode_hash
(
inode
);
mark_inode_dirty
(
inode
);
/* Change directory entry: */
inode
->
i_mode
=
0
;
/* for sysv_write_inode() */
inode
->
i_size
=
0
;
/* ditto */
...
...
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