lkml.org 
[lkml]   [2005]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 23/29] FAT: Remove the multiple MSDOS_SB() call
From
Date
Adrian Bunk <bunk@stusta.de> writes:

> On Sun, Mar 06, 2005 at 03:56:51AM +0900, OGAWA Hirofumi wrote:
>>
>> Since MSDOS_SB() is inline function, it increases text size at each calls.
>> I don't know whether there is __attribute__ for avoiding this.
>>
>> This removes the multiple call.
>>...

[...]

> static inline struct msdos_sb_info *MSDOS_SB(struct super_block *sb)
> {
> return sb->s_fs_info;
> }
>
> I'm quite surprised that there's any problem with it.

Whoops, actually the cause was not inline. Sorry.

#define MSDOS_SB(x) ((struct msdos_sb_info *)(x)->s_fs_info)

was same result. This just needed my patch.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.083 / U:0.176 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site