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
1b89d8d6
Commit
1b89d8d6
authored
Oct 07, 2002
by
Art Haas
Committed by
Linus Torvalds
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] named initializers for fs/msdos
parent
038d2710
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
fs/msdos/msdosfs_syms.c
fs/msdos/msdosfs_syms.c
+5
-5
fs/msdos/namei.c
fs/msdos/namei.c
+9
-9
No files found.
fs/msdos/msdosfs_syms.c
View file @
1b89d8d6
...
...
@@ -31,11 +31,11 @@ static struct super_block *msdos_get_sb(struct file_system_type *fs_type,
}
static
struct
file_system_type
msdos_fs_type
=
{
owner:
THIS_MODULE
,
name:
"msdos"
,
get_sb:
msdos_get_sb
,
kill_sb:
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
owner
=
THIS_MODULE
,
.
name
=
"msdos"
,
.
get_sb
=
msdos_get_sb
,
.
kill_sb
=
kill_block_super
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
static
int
__init
init_msdos_fs
(
void
)
...
...
fs/msdos/namei.c
View file @
1b89d8d6
...
...
@@ -189,8 +189,8 @@ static int msdos_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
static
struct
dentry_operations
msdos_dentry_operations
=
{
d_hash:
msdos_hash
,
d_compare:
msdos_cmp
,
.
d_hash
=
msdos_hash
,
.
d_compare
=
msdos_cmp
,
};
/*
...
...
@@ -590,13 +590,13 @@ int msdos_rename(struct inode *old_dir,struct dentry *old_dentry,
/* The public inode operations for the msdos fs */
struct
inode_operations
msdos_dir_inode_operations
=
{
create:
msdos_create
,
lookup:
msdos_lookup
,
unlink:
msdos_unlink
,
mkdir:
msdos_mkdir
,
rmdir:
msdos_rmdir
,
rename:
msdos_rename
,
setattr:
fat_notify_change
,
.
create
=
msdos_create
,
.
lookup
=
msdos_lookup
,
.
unlink
=
msdos_unlink
,
.
mkdir
=
msdos_mkdir
,
.
rmdir
=
msdos_rmdir
,
.
rename
=
msdos_rename
,
.
setattr
=
fat_notify_change
,
};
int
msdos_fill_super
(
struct
super_block
*
sb
,
void
*
data
,
int
silent
)
...
...
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