summaryrefslogtreecommitdiff
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2021-05-18 15:09:13 +0300
committerMike Marshall <hubcap@omnibond.com>2021-06-28 15:40:08 +0300
commit0fdec1b3c9fbb5e856a40db5993c9eaf91c74a83 (patch)
tree57e8b49edfd551c5b7895102fddefb94ccac3926 /fs/orangefs
parent24523e45b44f9fff9662cd5d1423d5c2291ef131 (diff)
downloadlinux-0fdec1b3c9fbb5e856a40db5993c9eaf91c74a83.tar.xz
orangefs: fix orangefs df output.
Orangefs df output is whacky. Walt Ligon suggested this might fix it. It seems way more in line with reality now... Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r--fs/orangefs/super.c2
1 files changed, 1 insertions, 1 deletions
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);