Skip to content

Commit 0fdec1b

Browse files
committed
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 <[email protected]>
1 parent 24523e4 commit 0fdec1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/orangefs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static int orangefs_statfs(struct dentry *dentry, struct kstatfs *buf)
209209
buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail;
210210
buf->f_files = (sector_t) new_op->downcall.resp.statfs.files_total;
211211
buf->f_ffree = (sector_t) new_op->downcall.resp.statfs.files_avail;
212-
buf->f_frsize = sb->s_blocksize;
212+
buf->f_frsize = 0;
213213

214214
out_op_release:
215215
op_release(new_op);

0 commit comments

Comments
 (0)