summaryrefslogtreecommitdiffstats
path: root/fs/minix
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2017-06-21 19:46:47 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-06-30 02:09:12 +0200
commit4f2ed694148131f93baffca9e68b0cd8dcc96c38 (patch)
tree584c9391913c98f5b88e3f8eaf4b86d9837265c0 /fs/minix
parentfs: Reorder inode_owner_or_capable() to avoid needless (diff)
downloadlinux-4f2ed694148131f93baffca9e68b0cd8dcc96c38.tar.xz
linux-4f2ed694148131f93baffca9e68b0cd8dcc96c38.zip
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 <dvlasenk@redhat.com> CC: Al Viro <viro@zeniv.linux.org.uk> CC: linux-fsdevel@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/minix')
-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;