Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1447637 > unrolled thread

[PATCH] fs: uninline build_open_flags()

Started byAlexey Dobriyan <adobriyan@gmail.com>
First post2016-07-21 08:30 +0200
Last post2016-07-21 08:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] fs: uninline build_open_flags() Alexey Dobriyan <adobriyan@gmail.com> - 2016-07-21 08:30 +0200

#1447637 — [PATCH] fs: uninline build_open_flags()

FromAlexey Dobriyan <adobriyan@gmail.com>
Date2016-07-21 08:30 +0200
Subject[PATCH] fs: uninline build_open_flags()
Message-ID<rXfEB-3Gt-15@gated-at.bofh.it>
Saves ~450 bytes with my usual config.

$ size vmlinux-000 vmlinux
   text    data     bss     dec     hex filename
6752803 3325000  708608 10786411         a4966b vmlinux-000
6752355 3325000  708608 10785963         a494ab vmlinux

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 fs/open.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/open.c
+++ b/fs/open.c
@@ -880,7 +880,7 @@ struct file *dentry_open(const struct path *path, int flags,
 }
 EXPORT_SYMBOL(dentry_open);
 
-static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op)
+static int build_open_flags(int flags, umode_t mode, struct open_flags *op)
 {
 	int lookup_flags = 0;
 	int acc_mode = ACC_MODE(flags);

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web