Messages in this thread | | | Date | Sun, 12 Oct 2008 10:13:03 -0400 | From | Josef Bacik <> | Subject | Re: [2.6 patch] provide generic_block_fiemap() only with BLOCK=y |
| |
On Sun, Oct 12, 2008 at 07:15:19AM +0300, Adrian Bunk wrote: > This patch fixes the following compile error with CONFIG_BLOCK=n caused > by commit 68c9d702bb72f367f3b148963ec6cf5e07ff7f65 > (generic block based fiemap implementation): > > <-- snip --> > > ... > CC fs/ioctl.o > fs/ioctl.c: In function 'generic_block_fiemap': > fs/ioctl.c:249: error: storage size of 'tmp' isn't known > fs/ioctl.c:272: error: invalid application of 'sizeof' to incomplete type 'struct buffer_head' > fs/ioctl.c:280: error: implicit declaration of function 'buffer_mapped' > fs/ioctl.c:249: warning: unused variable 'tmp' > make[2]: *** [fs/ioctl.o] Error 1 > > <-- snip --> > > > Signed-off-by: Adrian Bunk <bunk@kernel.org> >
Acked-by: Josef Bacik <jbacik@redhat.com>
Thanks,
Josef
| |