]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: cifsacl: Use a temporary ops variable to reduce code length
authorJoe Perches via samba-technical <samba-technical@lists.samba.org>
Sun, 7 May 2017 08:31:47 +0000 (01:31 -0700)
committerSteve French <smfrench@gmail.com>
Sat, 13 May 2017 00:45:18 +0000 (19:45 -0500)
commite178bca52fa88d0edfde786dbd3fe36139ef0574
treeedf40659163557a59ccfab3a640808ec0f1b1acc
parentc2483a9ca165a9787d0c34b0bf2caad90af880aa
cifs: cifsacl: Use a temporary ops variable to reduce code length

Create an ops variable to store tcon->ses->server->ops and cache
indirections and reduce code size a trivial bit.

$ size fs/cifs/cifsacl.o*
   text    data     bss     dec     hex filename
   5338     136       8    5482    156a fs/cifs/cifsacl.o.new
   5371     136       8    5515    158b fs/cifs/cifsacl.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsacl.c