projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d6536
)
xfs: fix uninitialized variable in _reflink_convert_cow
author
Darrick J. Wong
<darrick.wong@oracle.com>
Tue, 14 Feb 2017 06:52:27 +0000
(22:52 -0800)
committer
Darrick J. Wong
<darrick.wong@oracle.com>
Fri, 17 Feb 2017 01:20:12 +0000
(17:20 -0800)
Fix an uninitialize variable.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_reflink.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_reflink.c
b/fs/xfs/xfs_reflink.c
index 2f3d2d5c2934ffa6830a58ffb74f872f98bf31c7..da6d08fb359c8efdf42a53e283bb030780b5b064 100644
(file)
--- a/
fs/xfs/xfs_reflink.c
+++ b/
fs/xfs/xfs_reflink.c
@@
-362,7
+362,7
@@
xfs_reflink_convert_cow(
xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count);
xfs_extnum_t idx;
bool found;
- int error;
+ int error
= 0
;
xfs_ilock(ip, XFS_ILOCK_EXCL);