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
f2bf2c70
Commit
f2bf2c70
authored
Jun 01, 2016
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freevxfs: avoid the need for forward declaring the super operations
Signed-off-by:
Christoph Hellwig
<
hch@lst.de
>
parent
8985f53e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
fs/freevxfs/vxfs_super.c
fs/freevxfs/vxfs_super.c
+6
-13
No files found.
fs/freevxfs/vxfs_super.c
View file @
f2bf2c70
...
...
@@ -52,19 +52,6 @@ MODULE_AUTHOR("Christoph Hellwig");
MODULE_DESCRIPTION
(
"Veritas Filesystem (VxFS) driver"
);
MODULE_LICENSE
(
"Dual BSD/GPL"
);
static
void
vxfs_put_super
(
struct
super_block
*
);
static
int
vxfs_statfs
(
struct
dentry
*
,
struct
kstatfs
*
);
static
int
vxfs_remount
(
struct
super_block
*
,
int
*
,
char
*
);
static
const
struct
super_operations
vxfs_super_ops
=
{
.
evict_inode
=
vxfs_evict_inode
,
.
put_super
=
vxfs_put_super
,
.
statfs
=
vxfs_statfs
,
.
remount_fs
=
vxfs_remount
,
};
/**
* vxfs_put_super - free superblock resources
* @sbp: VFS superblock.
...
...
@@ -130,6 +117,12 @@ static int vxfs_remount(struct super_block *sb, int *flags, char *data)
return
0
;
}
static
const
struct
super_operations
vxfs_super_ops
=
{
.
evict_inode
=
vxfs_evict_inode
,
.
put_super
=
vxfs_put_super
,
.
statfs
=
vxfs_statfs
,
.
remount_fs
=
vxfs_remount
,
};
static
int
vxfs_try_sb_magic
(
struct
super_block
*
sbp
,
int
silent
,
unsigned
blk
,
__fs32
magic
)
...
...
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