bcachefs: Don't pretty-print options in /proc/mounts
A message that is not in the archive (sent off-list or not yet received): 32f10186c6b507e4ba8fc9ea36141df17a36ab3c.1745577250.git.g2p.code@gmail.com
PATCH 1/1 bcachefs: Don't pretty-print options in /proc/mounts
Pretty printing of sizes could introduce spaces and break the expected space-separated format.
Signed-off-by Gabriel de Perthuis <[email protected]>
--- fs/bcachefs/opts.c | 2 ++ 1 file changed, 2 insertions(+)
fs/bcachefs/opts.c +2 -0
@@ -461,10 +461,12 @@ void bch2_opt_to_text(struct printbuf *out, opt->attr.name);return ; }prt_printf (out,"%s=" , opt->attr.name); +// OPT_HUMAN_READABLE can introduce spaces which break the expected tabular format + flags &= ~OPT_HUMAN_READABLE ; }switch (opt->type) {case BCH_OPT_BOOL :case BCH_OPT_UINT :
Signature · 1 line
2.45.2