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
e77b8547
Commit
e77b8547
authored
Dec 04, 2014
by
Dave Chinner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xfs-coccinelle-cleanups' into xfs-misc-fixes-for-3.19-2
parents
db52d09e
d254aaec
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
24 deletions
+9
-24
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.c
+1
-5
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_ialloc.c
+1
-5
fs/xfs/xfs_file.c
fs/xfs/xfs_file.c
+1
-5
fs/xfs/xfs_qm.c
fs/xfs/xfs_qm.c
+5
-7
fs/xfs/xfs_super.c
fs/xfs/xfs_super.c
+1
-2
No files found.
fs/xfs/libxfs/xfs_bmap.c
View file @
e77b8547
...
@@ -5592,12 +5592,8 @@ xfs_bmse_shift_one(
...
@@ -5592,12 +5592,8 @@ xfs_bmse_shift_one(
XFS_WANT_CORRUPTED_GOTO
(
i
==
1
,
out_error
);
XFS_WANT_CORRUPTED_GOTO
(
i
==
1
,
out_error
);
got
.
br_startoff
=
startoff
;
got
.
br_startoff
=
startoff
;
error
=
xfs_bmbt_update
(
cur
,
got
.
br_startoff
,
got
.
br_startblock
,
return
xfs_bmbt_update
(
cur
,
got
.
br_startoff
,
got
.
br_startblock
,
got
.
br_blockcount
,
got
.
br_state
);
got
.
br_blockcount
,
got
.
br_state
);
if
(
error
)
return
error
;
return
0
;
out_error:
out_error:
return
error
;
return
error
;
...
...
fs/xfs/libxfs/xfs_ialloc.c
View file @
e77b8547
...
@@ -1137,11 +1137,7 @@ xfs_dialloc_ag_update_inobt(
...
@@ -1137,11 +1137,7 @@ xfs_dialloc_ag_update_inobt(
XFS_WANT_CORRUPTED_RETURN
((
rec
.
ir_free
==
frec
->
ir_free
)
&&
XFS_WANT_CORRUPTED_RETURN
((
rec
.
ir_free
==
frec
->
ir_free
)
&&
(
rec
.
ir_freecount
==
frec
->
ir_freecount
));
(
rec
.
ir_freecount
==
frec
->
ir_freecount
));
error
=
xfs_inobt_update
(
cur
,
&
rec
);
return
xfs_inobt_update
(
cur
,
&
rec
);
if
(
error
)
return
error
;
return
0
;
}
}
/*
/*
...
...
fs/xfs/xfs_file.c
View file @
e77b8547
...
@@ -933,7 +933,6 @@ xfs_file_readdir(
...
@@ -933,7 +933,6 @@ xfs_file_readdir(
{
{
struct
inode
*
inode
=
file_inode
(
file
);
struct
inode
*
inode
=
file_inode
(
file
);
xfs_inode_t
*
ip
=
XFS_I
(
inode
);
xfs_inode_t
*
ip
=
XFS_I
(
inode
);
int
error
;
size_t
bufsize
;
size_t
bufsize
;
/*
/*
...
@@ -950,10 +949,7 @@ xfs_file_readdir(
...
@@ -950,10 +949,7 @@ xfs_file_readdir(
*/
*/
bufsize
=
(
size_t
)
min_t
(
loff_t
,
32768
,
ip
->
i_d
.
di_size
);
bufsize
=
(
size_t
)
min_t
(
loff_t
,
32768
,
ip
->
i_d
.
di_size
);
error
=
xfs_readdir
(
ip
,
ctx
,
bufsize
);
return
xfs_readdir
(
ip
,
ctx
,
bufsize
);
if
(
error
)
return
error
;
return
0
;
}
}
STATIC
int
STATIC
int
...
...
fs/xfs/xfs_qm.c
View file @
e77b8547
...
@@ -1749,23 +1749,21 @@ xfs_qm_vop_dqalloc(
...
@@ -1749,23 +1749,21 @@ xfs_qm_vop_dqalloc(
xfs_iunlock
(
ip
,
lockflags
);
xfs_iunlock
(
ip
,
lockflags
);
if
(
O_udqpp
)
if
(
O_udqpp
)
*
O_udqpp
=
uq
;
*
O_udqpp
=
uq
;
else
if
(
uq
)
else
xfs_qm_dqrele
(
uq
);
xfs_qm_dqrele
(
uq
);
if
(
O_gdqpp
)
if
(
O_gdqpp
)
*
O_gdqpp
=
gq
;
*
O_gdqpp
=
gq
;
else
if
(
gq
)
else
xfs_qm_dqrele
(
gq
);
xfs_qm_dqrele
(
gq
);
if
(
O_pdqpp
)
if
(
O_pdqpp
)
*
O_pdqpp
=
pq
;
*
O_pdqpp
=
pq
;
else
if
(
pq
)
else
xfs_qm_dqrele
(
pq
);
xfs_qm_dqrele
(
pq
);
return
0
;
return
0
;
error_rele:
error_rele:
if
(
gq
)
xfs_qm_dqrele
(
gq
);
xfs_qm_dqrele
(
gq
);
xfs_qm_dqrele
(
uq
);
if
(
uq
)
xfs_qm_dqrele
(
uq
);
return
error
;
return
error
;
}
}
...
...
fs/xfs/xfs_super.c
View file @
e77b8547
...
@@ -796,8 +796,7 @@ xfs_open_devices(
...
@@ -796,8 +796,7 @@ xfs_open_devices(
out_free_ddev_targ:
out_free_ddev_targ:
xfs_free_buftarg
(
mp
,
mp
->
m_ddev_targp
);
xfs_free_buftarg
(
mp
,
mp
->
m_ddev_targp
);
out_close_rtdev:
out_close_rtdev:
if
(
rtdev
)
xfs_blkdev_put
(
rtdev
);
xfs_blkdev_put
(
rtdev
);
out_close_logdev:
out_close_logdev:
if
(
logdev
&&
logdev
!=
ddev
)
if
(
logdev
&&
logdev
!=
ddev
)
xfs_blkdev_put
(
logdev
);
xfs_blkdev_put
(
logdev
);
...
...
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