summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V2009-05-13 21:13:42 +0200
committerTheodore Ts'o2009-05-13 21:13:42 +0200
commit79ffab34391933ee3b95dac7f25c0478fa2f8f1e (patch)
tree8bc139928e172ef2ebd38e01f97dc01f886d8526 /fs/buffer.c
parentLinux 2.6.30-rc8 (diff)
downloadkernel-qcow2-linux-79ffab34391933ee3b95dac7f25c0478fa2f8f1e.tar.gz
kernel-qcow2-linux-79ffab34391933ee3b95dac7f25c0478fa2f8f1e.tar.xz
kernel-qcow2-linux-79ffab34391933ee3b95dac7f25c0478fa2f8f1e.zip
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 <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions