]> 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)
commit47179bedfe61ff98e0bb9a0db1fbd4ca9e0706d9
treeedf40659163557a59ccfab3a640808ec0f1b1acc
parent0feb87632b8ebbff7b4ac210747913687bf47501
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