]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ioctl.c
trivial: dmi_scan typo
[linux-2.6-omap-h63xx.git] / fs / ioctl.c
index 33a6b7ecb8b8686449fb42b1ab5f8ef6ce64709f..d152856c371be4906b7effec1f3c42842a4cee2d 100644 (file)
@@ -226,6 +226,8 @@ static int ioctl_fiemap(struct file *filp, unsigned long arg)
        return error;
 }
 
+#ifdef CONFIG_BLOCK
+
 #define blk_to_logical(inode, blk) (blk << (inode)->i_blkbits)
 #define logical_to_blk(inode, offset) (offset >> (inode)->i_blkbits);
 
@@ -342,6 +344,8 @@ int generic_block_fiemap(struct inode *inode,
 }
 EXPORT_SYMBOL(generic_block_fiemap);
 
+#endif  /*  CONFIG_BLOCK  */
+
 static int file_ioctl(struct file *filp, unsigned int cmd,
                unsigned long arg)
 {