summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-06-28 10:13:52 +1000
committerNathan Scott <nathans@sgi.com>2006-06-28 10:13:52 +1000
commit6fdf8ccc09fd764a9cce11006aa3fca53ac1c895 (patch)
tree0826433cc788979489ba1a2cc0df9cdad4cee9c5 /fs/xfs/xfs_log_recover.c
parent73024cf11522c0233228453984b2a2b37885e336 (diff)
downloadlinux-6fdf8ccc09fd764a9cce11006aa3fca53ac1c895.tar.gz
linux-6fdf8ccc09fd764a9cce11006aa3fca53ac1c895.tar.bz2
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)