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
42354af7
Commit
42354af7
authored
Aug 21, 2002
by
Richard Gooch
Browse files
Options
Browse Files
Download
Plain Diff
Merge atnf.csiro.au:/workaholix1/kernel/v2.5/linus
into atnf.csiro.au:/workaholix1/kernel/v2.5/rgooch-2.5
parents
d17e9bb6
f03bb371
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
fs/devfs/base.c
fs/devfs/base.c
+5
-5
include/linux/devfs_fs_kernel.h
include/linux/devfs_fs_kernel.h
+0
-2
No files found.
fs/devfs/base.c
View file @
42354af7
...
...
@@ -2228,16 +2228,14 @@ const char *devfs_get_name (devfs_handle_t de, unsigned int *namelen)
/**
* devfs_only - returns if "devfs=only" is a boot option
* devfs_only - returns
true
if "devfs=only" is a boot option
*
* If "devfs=only" this function will return 1, otherwise 0 is returned.
*/
int
devfs_only
(
void
)
{
if
(
boot_options
&
OPTION_ONLY
)
return
1
;
return
0
;
}
return
(
boot_options
&
OPTION_ONLY
)
?
1
:
0
;
}
/* End Function devfs_only */
/**
...
...
@@ -2312,6 +2310,7 @@ EXPORT_SYMBOL(devfs_unregister);
EXPORT_SYMBOL
(
devfs_mk_symlink
);
EXPORT_SYMBOL
(
devfs_mk_dir
);
EXPORT_SYMBOL
(
devfs_get_handle
);
EXPORT_SYMBOL
(
devfs_find_and_unregister
);
EXPORT_SYMBOL
(
devfs_get_flags
);
EXPORT_SYMBOL
(
devfs_set_flags
);
EXPORT_SYMBOL
(
devfs_get_maj_min
);
...
...
@@ -2327,6 +2326,7 @@ EXPORT_SYMBOL(devfs_get_next_sibling);
EXPORT_SYMBOL
(
devfs_auto_unregister
);
EXPORT_SYMBOL
(
devfs_get_unregister_slave
);
EXPORT_SYMBOL
(
devfs_get_name
);
EXPORT_SYMBOL
(
devfs_only
);
/**
...
...
include/linux/devfs_fs_kernel.h
View file @
42354af7
...
...
@@ -95,7 +95,6 @@ extern void devfs_auto_unregister (devfs_handle_t master,devfs_handle_t slave);
extern
devfs_handle_t
devfs_get_unregister_slave
(
devfs_handle_t
master
);
extern
const
char
*
devfs_get_name
(
devfs_handle_t
de
,
unsigned
int
*
namelen
);
extern
int
devfs_only
(
void
);
extern
void
devfs_register_tape
(
devfs_handle_t
de
);
extern
void
devfs_register_series
(
devfs_handle_t
dir
,
const
char
*
format
,
unsigned
int
num_entries
,
...
...
@@ -238,7 +237,6 @@ static inline int devfs_only (void)
{
return
0
;
}
static
inline
void
devfs_register_tape
(
devfs_handle_t
de
)
{
return
;
...
...
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