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
2d2a505b
Commit
2d2a505b
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/udf
parent
55bb9c8e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
49 deletions
+49
-49
fs/udf/dir.c
fs/udf/dir.c
+4
-4
fs/udf/file.c
fs/udf/file.c
+14
-14
fs/udf/inode.c
fs/udf/inode.c
+6
-6
fs/udf/namei.c
fs/udf/namei.c
+9
-9
fs/udf/super.c
fs/udf/super.c
+15
-15
fs/udf/symlink.c
fs/udf/symlink.c
+1
-1
No files found.
fs/udf/dir.c
View file @
2d2a505b
...
...
@@ -48,10 +48,10 @@ static int do_udf_readdir(struct inode *, struct file *, filldir_t, void *);
/* readdir and lookup functions */
struct
file_operations
udf_dir_operations
=
{
read:
generic_read_dir
,
readdir:
udf_readdir
,
ioctl:
udf_ioctl
,
fsync:
udf_fsync_file
,
.
read
=
generic_read_dir
,
.
readdir
=
udf_readdir
,
.
ioctl
=
udf_ioctl
,
.
fsync
=
udf_fsync_file
,
};
/*
...
...
fs/udf/file.c
View file @
2d2a505b
...
...
@@ -144,11 +144,11 @@ static int udf_adinicb_commit_write(struct file *file, struct page *page, unsign
}
struct
address_space_operations
udf_adinicb_aops
=
{
readpage:
udf_adinicb_readpage
,
writepage:
udf_adinicb_writepage
,
sync_page:
block_sync_page
,
prepare_write:
udf_adinicb_prepare_write
,
commit_write:
udf_adinicb_commit_write
,
.
readpage
=
udf_adinicb_readpage
,
.
writepage
=
udf_adinicb_writepage
,
.
sync_page
=
block_sync_page
,
.
prepare_write
=
udf_adinicb_prepare_write
,
.
commit_write
=
udf_adinicb_commit_write
,
};
static
ssize_t
udf_file_write
(
struct
file
*
file
,
const
char
*
buf
,
...
...
@@ -358,16 +358,16 @@ static int udf_open_file(struct inode * inode, struct file * filp)
}
struct
file_operations
udf_file_operations
=
{
read:
generic_file_read
,
ioctl:
udf_ioctl
,
open:
udf_open_file
,
mmap:
generic_file_mmap
,
write:
udf_file_write
,
release:
udf_release_file
,
fsync:
udf_fsync_file
,
sendfile:
generic_file_sendfile
,
.
read
=
generic_file_read
,
.
ioctl
=
udf_ioctl
,
.
open
=
udf_open_file
,
.
mmap
=
generic_file_mmap
,
.
write
=
udf_file_write
,
.
release
=
udf_release_file
,
.
fsync
=
udf_fsync_file
,
.
sendfile
=
generic_file_sendfile
,
};
struct
inode_operations
udf_file_inode_operations
=
{
truncate:
udf_truncate
,
.
truncate
=
udf_truncate
,
};
fs/udf/inode.c
View file @
2d2a505b
...
...
@@ -152,12 +152,12 @@ static int udf_bmap(struct address_space *mapping, long block)
}
struct
address_space_operations
udf_aops
=
{
readpage:
udf_readpage
,
writepage:
udf_writepage
,
sync_page:
block_sync_page
,
prepare_write:
udf_prepare_write
,
commit_write:
generic_commit_write
,
bmap:
udf_bmap
,
.
readpage
=
udf_readpage
,
.
writepage
=
udf_writepage
,
.
sync_page
=
block_sync_page
,
.
prepare_write
=
udf_prepare_write
,
.
commit_write
=
generic_commit_write
,
.
bmap
=
udf_bmap
,
};
void
udf_expand_file_adinicb
(
struct
inode
*
inode
,
int
newsize
,
int
*
err
)
...
...
fs/udf/namei.c
View file @
2d2a505b
...
...
@@ -1304,13 +1304,13 @@ static int udf_rename (struct inode * old_dir, struct dentry * old_dentry,
}
struct
inode_operations
udf_dir_inode_operations
=
{
lookup:
udf_lookup
,
create:
udf_create
,
link:
udf_link
,
unlink:
udf_unlink
,
symlink:
udf_symlink
,
mkdir:
udf_mkdir
,
rmdir:
udf_rmdir
,
mknod:
udf_mknod
,
rename:
udf_rename
,
.
lookup
=
udf_lookup
,
.
create
=
udf_create
,
.
link
=
udf_link
,
.
unlink
=
udf_unlink
,
.
symlink
=
udf_symlink
,
.
mkdir
=
udf_mkdir
,
.
rmdir
=
udf_rmdir
,
.
mknod
=
udf_mknod
,
.
rename
=
udf_rename
,
};
fs/udf/super.c
View file @
2d2a505b
...
...
@@ -104,11 +104,11 @@ static struct super_block *udf_get_sb(struct file_system_type *fs_type,
}
static
struct
file_system_type
udf_fstype
=
{
owner:
THIS_MODULE
,
name:
"udf"
,
get_sb:
udf_get_sb
,
kill_sb:
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
owner
=
THIS_MODULE
,
.
name
=
"udf"
,
.
get_sb
=
udf_get_sb
,
.
kill_sb
=
kill_block_super
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
static
kmem_cache_t
*
udf_inode_cachep
;
...
...
@@ -155,16 +155,16 @@ static void destroy_inodecache(void)
/* Superblock operations */
static
struct
super_operations
udf_sb_ops
=
{
alloc_inode:
udf_alloc_inode
,
destroy_inode:
udf_destroy_inode
,
read_inode:
udf_read_inode
,
write_inode:
udf_write_inode
,
put_inode:
udf_put_inode
,
delete_inode:
udf_delete_inode
,
put_super:
udf_put_super
,
write_super:
udf_write_super
,
statfs:
udf_statfs
,
remount_fs:
udf_remount_fs
,
.
alloc_inode
=
udf_alloc_inode
,
.
destroy_inode
=
udf_destroy_inode
,
.
read_inode
=
udf_read_inode
,
.
write_inode
=
udf_write_inode
,
.
put_inode
=
udf_put_inode
,
.
delete_inode
=
udf_delete_inode
,
.
put_super
=
udf_put_super
,
.
write_super
=
udf_write_super
,
.
statfs
=
udf_statfs
,
.
remount_fs
=
udf_remount_fs
,
};
struct
udf_options
...
...
fs/udf/symlink.c
View file @
2d2a505b
...
...
@@ -126,5 +126,5 @@ static int udf_symlink_filler(struct file *file, struct page *page)
* symlinks can't do much...
*/
struct
address_space_operations
udf_symlink_aops
=
{
readpage:
udf_symlink_filler
,
.
readpage
=
udf_symlink_filler
,
};
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