Files
twx-linux/fs
Paulo Alcantara 3cbf408b5a cifs: return proper error code in statfs(2)
commit 14302ee330 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>
2021-03-17 16:43:43 +01:00
..
2020-11-05 11:08:53 +01:00
…
…
…
…
2020-10-30 10:38:28 +01:00
…
…
…
…
…
…
…
…
2020-11-05 11:08:50 +01:00
2020-06-22 09:05:01 +02:00
…
…
…
…
…
2021-01-30 13:32:11 +01:00
…
…
2020-03-25 08:06:14 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…