• Arnd Bergmann's avatar
    cifs: hide unused functions · 84908426
    Arnd Bergmann authored
    Some functions are only referenced under an #ifdef, causing a harmless
    warning:
    
    fs/cifs/smb2ops.c:1374:1: error: 'get_smb2_acl' defined but not used [-Werror=unused-function]
    
    We could mark them __maybe_unused or add another #ifdef, I picked
    the second approach here.
    
    Fixes: b3fdda4d1e1b ("cifs: Use smb 2 - 3 and cifsacl mount options getacl functions")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarSteve French <smfrench@gmail.com>
    84908426
smb2ops.c 82.2 KB