]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitecdcf622eb74b52cebde1387a7a1852a787d8050
treeedf40659163557a59ccfab3a640808ec0f1b1acc
parentde1892b887eeb85ce458a93979c2108e6f329618
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