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
731b62ae
Commit
731b62ae
authored
Sep 29, 2002
by
Art Haas
Committed by
Jeff Garzik
Sep 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for fs/isofs
parent
7cb31aff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
26 deletions
+26
-26
fs/isofs/compress.c
fs/isofs/compress.c
+1
-1
fs/isofs/dir.c
fs/isofs/dir.c
+3
-3
fs/isofs/inode.c
fs/isofs/inode.c
+21
-21
fs/isofs/rock.c
fs/isofs/rock.c
+1
-1
No files found.
fs/isofs/compress.c
View file @
731b62ae
...
@@ -325,7 +325,7 @@ static int zisofs_readpage(struct file *file, struct page *page)
...
@@ -325,7 +325,7 @@ static int zisofs_readpage(struct file *file, struct page *page)
}
}
struct
address_space_operations
zisofs_aops
=
{
struct
address_space_operations
zisofs_aops
=
{
readpage:
zisofs_readpage
,
.
readpage
=
zisofs_readpage
,
/* No sync_page operation supported? */
/* No sync_page operation supported? */
/* No bmap operation supported */
/* No bmap operation supported */
};
};
...
...
fs/isofs/dir.c
View file @
731b62ae
...
@@ -29,8 +29,8 @@ static int isofs_readdir(struct file *, void *, filldir_t);
...
@@ -29,8 +29,8 @@ static int isofs_readdir(struct file *, void *, filldir_t);
struct
file_operations
isofs_dir_operations
=
struct
file_operations
isofs_dir_operations
=
{
{
read:
generic_read_dir
,
.
read
=
generic_read_dir
,
readdir:
isofs_readdir
,
.
readdir
=
isofs_readdir
,
};
};
/*
/*
...
@@ -38,7 +38,7 @@ struct file_operations isofs_dir_operations =
...
@@ -38,7 +38,7 @@ struct file_operations isofs_dir_operations =
*/
*/
struct
inode_operations
isofs_dir_inode_operations
=
struct
inode_operations
isofs_dir_inode_operations
=
{
{
lookup:
isofs_lookup
,
.
lookup
=
isofs_lookup
,
};
};
int
isofs_name_translate
(
struct
iso_directory_record
*
de
,
char
*
new
,
struct
inode
*
inode
)
int
isofs_name_translate
(
struct
iso_directory_record
*
de
,
char
*
new
,
struct
inode
*
inode
)
...
...
fs/isofs/inode.c
View file @
731b62ae
...
@@ -124,11 +124,11 @@ static void destroy_inodecache(void)
...
@@ -124,11 +124,11 @@ static void destroy_inodecache(void)
}
}
static
struct
super_operations
isofs_sops
=
{
static
struct
super_operations
isofs_sops
=
{
alloc_inode:
isofs_alloc_inode
,
.
alloc_inode
=
isofs_alloc_inode
,
destroy_inode:
isofs_destroy_inode
,
.
destroy_inode
=
isofs_destroy_inode
,
read_inode:
isofs_read_inode
,
.
read_inode
=
isofs_read_inode
,
put_super:
isofs_put_super
,
.
put_super
=
isofs_put_super
,
statfs:
isofs_statfs
,
.
statfs
=
isofs_statfs
,
};
};
/* the export_operations structure for describing
/* the export_operations structure for describing
...
@@ -148,21 +148,21 @@ static struct export_operations isofs_export_ops = {
...
@@ -148,21 +148,21 @@ static struct export_operations isofs_export_ops = {
static
struct
dentry_operations
isofs_dentry_ops
[]
=
{
static
struct
dentry_operations
isofs_dentry_ops
[]
=
{
{
{
d_hash:
isofs_hash
,
.
d_hash
=
isofs_hash
,
d_compare:
isofs_dentry_cmp
,
.
d_compare
=
isofs_dentry_cmp
,
},
},
{
{
d_hash:
isofs_hashi
,
.
d_hash
=
isofs_hashi
,
d_compare:
isofs_dentry_cmpi
,
.
d_compare
=
isofs_dentry_cmpi
,
},
},
#ifdef CONFIG_JOLIET
#ifdef CONFIG_JOLIET
{
{
d_hash:
isofs_hash_ms
,
.
d_hash
=
isofs_hash_ms
,
d_compare:
isofs_dentry_cmp_ms
,
.
d_compare
=
isofs_dentry_cmp_ms
,
},
},
{
{
d_hash:
isofs_hashi_ms
,
.
d_hash
=
isofs_hashi_ms
,
d_compare:
isofs_dentry_cmpi_ms
,
.
d_compare
=
isofs_dentry_cmpi_ms
,
}
}
#endif
#endif
};
};
...
@@ -1063,9 +1063,9 @@ static int _isofs_bmap(struct address_space *mapping, long block)
...
@@ -1063,9 +1063,9 @@ static int _isofs_bmap(struct address_space *mapping, long block)
}
}
static
struct
address_space_operations
isofs_aops
=
{
static
struct
address_space_operations
isofs_aops
=
{
readpage:
isofs_readpage
,
.
readpage
=
isofs_readpage
,
sync_page:
block_sync_page
,
.
sync_page
=
block_sync_page
,
bmap:
_isofs_bmap
.
bmap
=
_isofs_bmap
};
};
static
inline
void
test_and_set_uid
(
uid_t
*
p
,
uid_t
value
)
static
inline
void
test_and_set_uid
(
uid_t
*
p
,
uid_t
value
)
...
@@ -1430,11 +1430,11 @@ static struct super_block *isofs_get_sb(struct file_system_type *fs_type,
...
@@ -1430,11 +1430,11 @@ static struct super_block *isofs_get_sb(struct file_system_type *fs_type,
}
}
static
struct
file_system_type
iso9660_fs_type
=
{
static
struct
file_system_type
iso9660_fs_type
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
name:
"iso9660"
,
.
name
=
"iso9660"
,
get_sb:
isofs_get_sb
,
.
get_sb
=
isofs_get_sb
,
kill_sb:
kill_block_super
,
.
kill_sb
=
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
};
static
int
__init
init_iso9660_fs
(
void
)
static
int
__init
init_iso9660_fs
(
void
)
...
...
fs/isofs/rock.c
View file @
731b62ae
...
@@ -590,5 +590,5 @@ static int rock_ridge_symlink_readpage(struct file *file, struct page *page)
...
@@ -590,5 +590,5 @@ static int rock_ridge_symlink_readpage(struct file *file, struct page *page)
}
}
struct
address_space_operations
isofs_symlink_aops
=
{
struct
address_space_operations
isofs_symlink_aops
=
{
readpage:
rock_ridge_symlink_readpage
.
readpage
=
rock_ridge_symlink_readpage
};
};
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