diff options
author | Kazuya Mio <k-mio@sx.jp.nec.com> | 2010-10-27 21:30:15 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-10-27 21:30:15 -0400 |
commit | a6371b636f9f007ee5c90f85de048bc1b675424a (patch) | |
tree | 8cb3091cc98debd71ba58a4a3d2157e6eec24593 | |
parent | eee4adc709afe40d8c02fa154c63dbeb55d911e3 (diff) |
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>
-rw-r--r-- | fs/ext4/extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 20e6c3c65fa1..a17a676a3106 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -3668,7 +3668,7 @@ retry: | |||
3668 | printk(KERN_ERR "%s: ext4_ext_map_blocks " | 3668 | printk(KERN_ERR "%s: ext4_ext_map_blocks " |
3669 | "returned error inode#%lu, block=%u, " | 3669 | "returned error inode#%lu, block=%u, " |
3670 | "max_blocks=%u", __func__, | 3670 | "max_blocks=%u", __func__, |
3671 | inode->i_ino, block, max_blocks); | 3671 | inode->i_ino, map.m_lblk, max_blocks); |
3672 | #endif | 3672 | #endif |
3673 | ext4_mark_inode_dirty(handle, inode); | 3673 | ext4_mark_inode_dirty(handle, inode); |
3674 | ret2 = ext4_journal_stop(handle); | 3674 | ret2 = ext4_journal_stop(handle); |