diff options
author | Mike Marshall <hubcap@omnibond.com> | 2021-05-18 08:09:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:21:13 +0200 |
commit | 2307ca3deb133dc10ff5fa4e4abda7b87eebbb2a (patch) | |
tree | 69c340790ff391de42c6a116b7790c6d221e892d | |
parent | 14540239bde6d2fc025a4faaa1e4931214f35e81 (diff) | |
download | linux-stable-2307ca3deb133dc10ff5fa4e4abda7b87eebbb2a.tar.gz linux-stable-2307ca3deb133dc10ff5fa4e4abda7b87eebbb2a.tar.bz2 linux-stable-2307ca3deb133dc10ff5fa4e4abda7b87eebbb2a.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>
-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 6e35ef6521b4..8972ebc87016 100644 --- a/fs/orangefs/super.c +++ b/fs/orangefs/super.c @@ -185,7 +185,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); |