summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorNathan Scott2006-06-28 02:13:52 +0200
committerNathan Scott2006-06-28 02:13:52 +0200
commit6fdf8ccc09fd764a9cce11006aa3fca53ac1c895 (patch)
tree0826433cc788979489ba1a2cc0df9cdad4cee9c5 /fs/xfs/xfs_log_recover.c
parent[XFS] Fix realtime subvolume expansion, a porting bug b0rked it. Coverity (diff)
downloadkernel-qcow2-linux-6fdf8ccc09fd764a9cce11006aa3fca53ac1c895.tar.gz
kernel-qcow2-linux-6fdf8ccc09fd764a9cce11006aa3fca53ac1c895.tar.xz
kernel-qcow2-linux-6fdf8ccc09fd764a9cce11006aa3fca53ac1c895.zip
[XFS] Rework code snippets slightly to remove remaining recent-gcc
warnings. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:26364a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 55b4237c2153..3cb678e3a132 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -990,6 +990,8 @@ xlog_find_zeroed(
xfs_daddr_t num_scan_bblks;
int error, log_bbnum = log->l_logBBsize;
+ *blk_no = 0;
+
/* check totally zeroed log */
bp = xlog_get_bp(log, 1);
if (!bp)