diff options
author | Mike Marshall <hubcap@omnibond.com> | 2021-05-18 15:09:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 17:16:11 +0300 |
commit | f0ab6d809cfeffb75c181c29df2235d12b3de844 (patch) | |
tree | e0a7b3bc2a9239f5589cc5f92dda11e7f17260bb | |
parent | ef50bb9ea1f1370d2cc1c54184c773a9b0644bc8 (diff) | |
download | linux-f0ab6d809cfeffb75c181c29df2235d12b3de844.tar.xz |
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>
-rw-r--r-- | fs/orangefs/super.c | 2 |
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); |