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
Kirill Smelkov
linux
Commits
7a8c31e9
Commit
7a8c31e9
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/vfat
parent
3e56edd0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
fs/vfat/namei.c
fs/vfat/namei.c
+17
-17
fs/vfat/vfatfs_syms.c
fs/vfat/vfatfs_syms.c
+5
-5
No files found.
fs/vfat/namei.c
View file @
7a8c31e9
...
@@ -49,22 +49,22 @@ static int vfat_revalidate(struct dentry *dentry, int);
...
@@ -49,22 +49,22 @@ static int vfat_revalidate(struct dentry *dentry, int);
static
struct
dentry_operations
vfat_dentry_ops
[
4
]
=
{
static
struct
dentry_operations
vfat_dentry_ops
[
4
]
=
{
{
{
d_hash:
vfat_hashi
,
.
d_hash
=
vfat_hashi
,
d_compare:
vfat_cmpi
,
.
d_compare
=
vfat_cmpi
,
},
},
{
{
d_revalidate:
vfat_revalidate
,
.
d_revalidate
=
vfat_revalidate
,
d_hash:
vfat_hashi
,
.
d_hash
=
vfat_hashi
,
d_compare:
vfat_cmpi
,
.
d_compare
=
vfat_cmpi
,
},
},
{
{
d_hash:
vfat_hash
,
.
d_hash
=
vfat_hash
,
d_compare:
vfat_cmp
,
.
d_compare
=
vfat_cmp
,
},
},
{
{
d_revalidate:
vfat_revalidate
,
.
d_revalidate
=
vfat_revalidate
,
d_hash:
vfat_hash
,
.
d_hash
=
vfat_hash
,
d_compare:
vfat_cmp
,
.
d_compare
=
vfat_cmp
,
}
}
};
};
...
@@ -1269,13 +1269,13 @@ int vfat_rename(struct inode *old_dir,struct dentry *old_dentry,
...
@@ -1269,13 +1269,13 @@ int vfat_rename(struct inode *old_dir,struct dentry *old_dentry,
/* Public inode operations for the VFAT fs */
/* Public inode operations for the VFAT fs */
struct
inode_operations
vfat_dir_inode_operations
=
{
struct
inode_operations
vfat_dir_inode_operations
=
{
create:
vfat_create
,
.
create
=
vfat_create
,
lookup:
vfat_lookup
,
.
lookup
=
vfat_lookup
,
unlink:
vfat_unlink
,
.
unlink
=
vfat_unlink
,
mkdir:
vfat_mkdir
,
.
mkdir
=
vfat_mkdir
,
rmdir:
vfat_rmdir
,
.
rmdir
=
vfat_rmdir
,
rename:
vfat_rename
,
.
rename
=
vfat_rename
,
setattr:
fat_notify_change
,
.
setattr
=
fat_notify_change
,
};
};
int
vfat_fill_super
(
struct
super_block
*
sb
,
void
*
data
,
int
silent
)
int
vfat_fill_super
(
struct
super_block
*
sb
,
void
*
data
,
int
silent
)
...
...
fs/vfat/vfatfs_syms.c
View file @
7a8c31e9
...
@@ -18,11 +18,11 @@ static struct super_block *vfat_get_sb(struct file_system_type *fs_type,
...
@@ -18,11 +18,11 @@ static struct super_block *vfat_get_sb(struct file_system_type *fs_type,
}
}
static
struct
file_system_type
vfat_fs_type
=
{
static
struct
file_system_type
vfat_fs_type
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
name:
"vfat"
,
.
name
=
"vfat"
,
get_sb:
vfat_get_sb
,
.
get_sb
=
vfat_get_sb
,
kill_sb:
kill_block_super
,
.
kill_sb
=
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
};
EXPORT_SYMBOL
(
vfat_create
);
EXPORT_SYMBOL
(
vfat_create
);
...
...
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