mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
orangefs: fix orangefs df output.
[ Upstream commit 0fdec1b3c9
]
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>
This commit is contained in:
parent
ef50bb9ea1
commit
f0ab6d809c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue