summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2021-05-18 08:09:13 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:16:11 +0200
commitf0ab6d809cfeffb75c181c29df2235d12b3de844 (patch)
treee0a7b3bc2a9239f5589cc5f92dda11e7f17260bb /fs
parentef50bb9ea1f1370d2cc1c54184c773a9b0644bc8 (diff)
downloadlinux-stable-f0ab6d809cfeffb75c181c29df2235d12b3de844.tar.gz
linux-stable-f0ab6d809cfeffb75c181c29df2235d12b3de844.tar.bz2
linux-stable-f0ab6d809cfeffb75c181c29df2235d12b3de844.zip
orangefs: fix orangefs df output.
[ Upstream commit 0fdec1b3c9fbb5e856a40db5993c9eaf91c74a83 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
-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 dfaee90d30bd..524fd95173b3 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -195,7 +195,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);