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
b9d86667
Commit
b9d86667
authored
May 02, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Silence bogus inode.c compiler warnings
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
12fa8ec6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/btrfs/inode.c
fs/btrfs/inode.c
+2
-2
No files found.
fs/btrfs/inode.c
View file @
b9d86667
...
@@ -2035,12 +2035,12 @@ static int btrfs_link(struct dentry *old_dentry, struct inode *dir,
...
@@ -2035,12 +2035,12 @@ static int btrfs_link(struct dentry *old_dentry, struct inode *dir,
static
int
btrfs_mkdir
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
int
mode
)
static
int
btrfs_mkdir
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
int
mode
)
{
{
struct
inode
*
inode
;
struct
inode
*
inode
=
NULL
;
struct
btrfs_trans_handle
*
trans
;
struct
btrfs_trans_handle
*
trans
;
struct
btrfs_root
*
root
=
BTRFS_I
(
dir
)
->
root
;
struct
btrfs_root
*
root
=
BTRFS_I
(
dir
)
->
root
;
int
err
=
0
;
int
err
=
0
;
int
drop_on_err
=
0
;
int
drop_on_err
=
0
;
u64
objectid
;
u64
objectid
=
0
;
unsigned
long
nr
=
1
;
unsigned
long
nr
=
1
;
mutex_lock
(
&
root
->
fs_info
->
fs_mutex
);
mutex_lock
(
&
root
->
fs_info
->
fs_mutex
);
...
...
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