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
b60653b2
Commit
b60653b2
authored
Dec 03, 2002
by
Art Haas
Committed by
Linus Torvalds
Dec 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for include/linux/reiserfs_fs.h
parent
3f2b6dd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
include/linux/reiserfs_fs.h
include/linux/reiserfs_fs.h
+18
-18
No files found.
include/linux/reiserfs_fs.h
View file @
b60653b2
...
...
@@ -2062,12 +2062,12 @@ extern inline int reiserfs_new_form_blocknrs (struct tree_balance * tb,
b_blocknr_t
*
new_blocknrs
,
int
amount_needed
)
{
reiserfs_blocknr_hint_t
hint
=
{
th:
tb
->
transaction_handle
,
path:
tb
->
tb_path
,
inode:
NULL
,
key:
tb
->
key
,
block:
0
,
formatted_node:
1
.
th
=
tb
->
transaction_handle
,
.
path
=
tb
->
tb_path
,
.
inode
=
NULL
,
.
key
=
tb
->
key
,
.
block
=
0
,
.
formatted_node
=
1
};
return
reiserfs_allocate_blocknrs
(
&
hint
,
new_blocknrs
,
amount_needed
,
0
);
}
...
...
@@ -2077,12 +2077,12 @@ extern inline int reiserfs_new_unf_blocknrs (struct reiserfs_transaction_handle
struct
path
*
path
,
long
block
)
{
reiserfs_blocknr_hint_t
hint
=
{
th:
th
,
path:
path
,
inode:
NULL
,
block:
block
,
formatted_node:
0
,
preallocate:
0
.
th
=
th
,
.
path
=
path
,
.
inode
=
NULL
,
.
block
=
block
,
.
formatted_node
=
0
,
.
preallocate
=
0
};
return
reiserfs_allocate_blocknrs
(
&
hint
,
new_blocknrs
,
1
,
0
);
}
...
...
@@ -2094,12 +2094,12 @@ extern inline int reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle
struct
path
*
path
,
long
block
)
{
reiserfs_blocknr_hint_t
hint
=
{
th:
th
,
path:
path
,
inode:
inode
,
block:
block
,
formatted_node:
0
,
preallocate:
1
.
th
=
th
,
.
path
=
path
,
.
inode
=
inode
,
.
block
=
block
,
.
formatted_node
=
0
,
.
preallocate
=
1
};
return
reiserfs_allocate_blocknrs
(
&
hint
,
new_blocknrs
,
1
,
0
);
}
...
...
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