aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <[email protected]>2017-06-21 19:46:47 +0200
committerAl Viro <[email protected]>2017-06-29 20:09:12 -0400
commit4f2ed694148131f93baffca9e68b0cd8dcc96c38 (patch)
tree584c9391913c98f5b88e3f8eaf4b86d9837265c0
parentcc658db47d6897a8571fb6227f59d1d18151b0b2 (diff)
minix: Deinline get_block, save 2691 bytes
This function compiles to 1402 bytes of machine code. It has 2 callsites, and also a not-inlined copy gets created by compiler anyway since its address gets passed as a parameter to block_truncate_page(). Signed-off-by: Denys Vlasenko <[email protected]> CC: Al Viro <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Al Viro <[email protected]>
-rw-r--r--fs/minix/itree_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/itree_common.c b/fs/minix/itree_common.c
index 4c57c9af6946..2d1ca08870f7 100644
--- a/fs/minix/itree_common.c
+++ b/fs/minix/itree_common.c
@@ -142,7 +142,7 @@ changed:
return -EAGAIN;
}
-static inline int get_block(struct inode * inode, sector_t block,
+static int get_block(struct inode * inode, sector_t block,
struct buffer_head *bh, int create)
{
int err = -EIO;