Skip to content

I want to add percent to output used/maximum files and blocks

Oscar Megia López linux-ext4 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1e2fsck: Add percent to files and blocks featuree2fsck/unix.c+23 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] I want to add percent to output used/maximum files and blocks

I think this is good information because
numbers alone are not enough for people.

I check that the denominator is zero for safety, may never be zero, but I prefer to check.

Same for copying in char pointers. I prefer to use snprintf, than sprintf or strcpy, because this way it won't never overrun the pointer size.

My experience says that there is to check all possibilities, even if I think that never will happen (error free).

Oscar Megia López (1):
e2fsck: Add percent to files and blocks feature

 e2fsck/unix.c | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

base-commit: 25ad8a431331b4d1d444a70b6079456cc612ac40

Signature · 1 line
2.40.0