Skip to content

Commit 22ba031

Browse files
AdrianBunkjankara
authored andcommitted
udf: fs/udf/partition.c:udf_get_pblock() mustn't be inline
This patch fixes the following build error with UML and gcc 4.3: <-- snip --> ... CC fs/udf/partition.o /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/udf/partition.c: In function ‘udf_get_pblock_virt15’: /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/udf/partition.c:32: sorry, unimplemented: inlining failed in call to ‘udf_get_pblock’: function body not available /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/udf/partition.c:102: sorry, unimplemented: called from here make[3]: *** [fs/udf/partition.o] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jan Kara <jack@suse.cz>
1 parent 064922a commit 22ba031

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/udf/partition.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#include <linux/slab.h>
2828
#include <linux/buffer_head.h>
2929

30-
inline uint32_t udf_get_pblock(struct super_block *sb, uint32_t block,
31-
uint16_t partition, uint32_t offset)
30+
uint32_t udf_get_pblock(struct super_block *sb, uint32_t block,
31+
uint16_t partition, uint32_t offset)
3232
{
3333
struct udf_sb_info *sbi = UDF_SB(sb);
3434
struct udf_part_map *map;

0 commit comments

Comments
 (0)