VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Paulo Alcantara <pc@cjr.nz> 2021-03-08 12:00:49 -0300 committer: Steve French <stfrench@microsoft.com> 2021-03-08 21:23:11 -0600 commit: 14302ee3301b3a77b331cc14efb95bf7184c73cc parent: e3d100eae44b42f309c1366efb8397368f1cf8ed
Commit Summary:
cifs: return proper error code in statfs(2)
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index d43e935d2df4..099ad9f3660b 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -290,7 +290,7 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
 		rc = server->ops->queryfs(xid, tcon, cifs_sb, buf);
 
 	free_xid(xid);
-	return 0;
+	return rc;
 }
 
 static long cifs_fallocate(struct file *file, int mode, loff_t off, loff_t len)