VisionFive2 Linux kernel

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

More than 9999 Commits   35 Branches   59 Tags
author: Mike Marshall <hubcap@omnibond.com> 2021-05-18 08:09:13 -0400 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-20 16:00:25 +0200 commit: 4f8e35e9483a894b1c256b51c8dc32cb56a1df9c parent: cdc00734394b14832589b76eeb0440bc8bc6bc10
Commit Summary:
orangefs: fix orangefs df output.
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index ee5efdc35cc1..2f2e430461b2 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -209,7 +209,7 @@ static int orangefs_statfs(struct dentry *dentry, struct kstatfs *buf)
 	buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail;
 	buf->f_files = (sector_t) new_op->downcall.resp.statfs.files_total;
 	buf->f_ffree = (sector_t) new_op->downcall.resp.statfs.files_avail;
-	buf->f_frsize = sb->s_blocksize;
+	buf->f_frsize = 0;
 
 out_op_release:
 	op_release(new_op);