From: Aneesh Kumar K.V Date: Wed, 13 May 2009 19:13:42 +0000 (-0400) Subject: ext4: Properly initialize the buffer_head state X-Git-Tag: v2.6.31-rc1~396^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ffab34391933ee3b95dac7f25c0478fa2f8f1e;p=pandora-kernel.git ext4: Properly initialize the buffer_head state These struct buffer_heads are allocated on the stack (and hence are initialized with stack garbage). They are only used to call a get_blocks() function, so that's mostly OK, but b_state must be initialized to be 0 so we don't have any unexpected BH_* flags set by accident, such as BH_Unwritten or BH_Delay. Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed