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
f175f307
Commit
f175f307
authored
Oct 15, 2017
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stubs for mount_bdev() and kill_block_super() in !CONFIG_BLOCK case
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
53fd88ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
include/linux/fs.h
include/linux/fs.h
+16
-0
No files found.
include/linux/fs.h
View file @
f175f307
...
...
@@ -2094,9 +2094,18 @@ struct file_system_type {
extern
struct
dentry
*
mount_ns
(
struct
file_system_type
*
fs_type
,
int
flags
,
void
*
data
,
void
*
ns
,
struct
user_namespace
*
user_ns
,
int
(
*
fill_super
)(
struct
super_block
*
,
void
*
,
int
));
#ifdef CONFIG_BLOCK
extern
struct
dentry
*
mount_bdev
(
struct
file_system_type
*
fs_type
,
int
flags
,
const
char
*
dev_name
,
void
*
data
,
int
(
*
fill_super
)(
struct
super_block
*
,
void
*
,
int
));
#else
static
inline
struct
dentry
*
mount_bdev
(
struct
file_system_type
*
fs_type
,
int
flags
,
const
char
*
dev_name
,
void
*
data
,
int
(
*
fill_super
)(
struct
super_block
*
,
void
*
,
int
))
{
return
ERR_PTR
(
-
ENODEV
);
}
#endif
extern
struct
dentry
*
mount_single
(
struct
file_system_type
*
fs_type
,
int
flags
,
void
*
data
,
int
(
*
fill_super
)(
struct
super_block
*
,
void
*
,
int
));
...
...
@@ -2105,7 +2114,14 @@ extern struct dentry *mount_nodev(struct file_system_type *fs_type,
int
(
*
fill_super
)(
struct
super_block
*
,
void
*
,
int
));
extern
struct
dentry
*
mount_subtree
(
struct
vfsmount
*
mnt
,
const
char
*
path
);
void
generic_shutdown_super
(
struct
super_block
*
sb
);
#ifdef CONFIG_BLOCK
void
kill_block_super
(
struct
super_block
*
sb
);
#else
static
inline
void
kill_block_super
(
struct
super_block
*
sb
)
{
BUG
();
}
#endif
void
kill_anon_super
(
struct
super_block
*
sb
);
void
kill_litter_super
(
struct
super_block
*
sb
);
void
deactivate_super
(
struct
super_block
*
sb
);
...
...
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