summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@cjr.nz>2021-03-08 12:00:49 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-17 16:43:43 +0100
commit3cbf408b5ae6d384fffc9dabe4f5cad2f3906d89 (patch)
tree935fd05f3737bb5a288f8ae5669d93ec876b105e /scripts
parent319f460237fc2965a80aa9a055044e1da7b3692a (diff)
cifs: return proper error code in statfs(2)
commit 14302ee3301b3a77b331cc14efb95bf7184c73cc upstream. In cifs_statfs(), if server->ops->queryfs is not NULL, then we should use its return value rather than always returning 0. Instead, use rc variable as it is properly set to 0 in case there is no server->ops->queryfs. Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> CC: <stable@vger.kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions