ext4: fix compile error in ext4_fallocate()
commita6371b636f9f007ee5c90f85de048bc1b675424a
authorKazuya Mio <k-mio@sx.jp.nec.com>
Thu, 28 Oct 2010 01:30:15 +0000 (27 21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:15 +0000 (27 21:30 -0400)
tree8cb3091cc98debd71ba58a4a3d2157e6eec24593
parenteee4adc709afe40d8c02fa154c63dbeb55d911e3
ext4: fix compile error in ext4_fallocate()

When I compiled 2.6.36-rc3 kernel with EXT4FS_DEBUG definition, I got
the following compile error.

  CC [M]  fs/ext4/extents.o
fs/ext4/extents.c: In function 'ext4_fallocate':
fs/ext4/extents.c:3772: error: 'block' undeclared (first use in this function)
fs/ext4/extents.c:3772: error: (Each undeclared identifier is reported only once
fs/ext4/extents.c:3772: error: for each function it appears in.)
make[2]: *** [fs/ext4/extents.o] Error 1

The patch fixes this problem.

Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c