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
15dd3f72
Commit
15dd3f72
authored
Mar 06, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
6af705cb
fd7eaee2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
drivers/char/vt.c
drivers/char/vt.c
+3
-2
fs/namei.c
fs/namei.c
+10
-0
include/linux/list.h
include/linux/list.h
+1
-0
include/linux/tty.h
include/linux/tty.h
+0
-1
No files found.
drivers/char/vt.c
View file @
15dd3f72
...
...
@@ -2443,7 +2443,7 @@ static void vc_init(unsigned int currcons, unsigned int rows, unsigned int cols,
struct
tty_driver
console_driver
;
static
int
console_refcount
;
static
void
__init
con_init
(
void
)
static
int
__init
con_init
(
void
)
{
const
char
*
display_desc
=
NULL
;
unsigned
int
currcons
=
0
;
...
...
@@ -2452,7 +2452,7 @@ static void __init con_init(void)
display_desc
=
conswitchp
->
con_startup
();
if
(
!
display_desc
)
{
fg_console
=
0
;
return
;
return
0
;
}
init_timer
(
&
console_timer
);
...
...
@@ -2491,6 +2491,7 @@ static void __init con_init(void)
#ifdef CONFIG_VT_CONSOLE
register_console
(
&
vt_console_driver
);
#endif
return
0
;
}
console_initcall
(
con_init
);
...
...
fs/namei.c
View file @
15dd3f72
...
...
@@ -342,8 +342,18 @@ static struct dentry * real_lookup(struct dentry * parent, struct qstr * name, i
*
* FIXME! This could use version numbering or similar to
* avoid unnecessary cache lookups.
*
* The "dcache_lock" is purely to protect the RCU list walker
* from concurrent renames at this point (we mustn't get false
* negatives from the RCU list walk here, unlike the optimistic
* fast walk).
*
* We really should do a sequence number thing to avoid this
* all.
*/
spin_lock
(
&
dcache_lock
);
result
=
d_lookup
(
parent
,
name
);
spin_unlock
(
&
dcache_lock
);
if
(
!
result
)
{
struct
dentry
*
dentry
=
d_alloc
(
parent
,
name
);
result
=
ERR_PTR
(
-
ENOMEM
);
...
...
include/linux/list.h
View file @
15dd3f72
...
...
@@ -4,6 +4,7 @@
#ifdef __KERNEL__
#include <linux/prefetch.h>
#include <linux/stddef.h>
#include <asm/system.h>
/*
...
...
include/linux/tty.h
View file @
15dd3f72
...
...
@@ -348,7 +348,6 @@ extern int fg_console, last_console, want_console;
extern
int
kmsg_redirect
;
extern
void
con_init
(
void
);
extern
void
console_init
(
void
);
extern
int
lp_init
(
void
);
...
...
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