aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 14:44:51 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-26 14:44:51 -0500
commit60f29b1e1600d89aee5e529acb4b276a6650cb8b (patch)
treece50c07a6203c5065abe27d016e903285718d771
parent5313a20bfca33ac2e15e3f6b6c8cafe806efbcc6 (diff)
parentc9e3ad6021e5eeb1c25cc4a573bd6427019a7a86 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6: JFS: Get rid of "may be used uninitialized" warnings
-rw-r--r--fs/jfs/jfs_txnmgr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c
index 6988a1082f58..03893acbfda4 100644
--- a/fs/jfs/jfs_txnmgr.c
+++ b/fs/jfs/jfs_txnmgr.c
@@ -1919,7 +1919,8 @@ static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
1919 * header ? 1919 * header ?
1920 */ 1920 */
1921 if (tlck->type & tlckTRUNCATE) { 1921 if (tlck->type & tlckTRUNCATE) {
1922 pxd_t pxd; /* truncated extent of xad */ 1922 /* This odd declaration suppresses a bogus gcc warning */
1923 pxd_t pxd = pxd; /* truncated extent of xad */
1923 int twm; 1924 int twm;
1924 1925
1925 /* 1926 /*