diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-19 16:27:39 +0100 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-09-20 18:46:10 -0500 |
commit | 4d61eda812041ef9c820d7f147884133fd3307bc (patch) | |
tree | 66588cfa91235c3d310652603874d34d28694a5e /fs/tracefs/Makefile | |
parent | 1fa089ec6d68849bfe60abd141375dc9b21b0ee8 (diff) |
CIFS: make arrays static const, reduces object code size
Don't populate the read-only arrays types[] on the stack, instead make
them both static const. Makes the object code smaller by over 200 bytes:
Before:
text data bss dec hex filename
111503 37696 448 149647 2488f fs/cifs/file.o
After:
text data bss dec hex filename
111140 37856 448 149444 247c4 fs/cifs/file.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/tracefs/Makefile')
0 files changed, 0 insertions, 0 deletions