bcachefs: Initialize sb_quota with default 1 week timer
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 12 Oct 2022 18:47:58 +0000 (14:47 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:43 +0000 (17:09 -0400)
commitf866870f5dbe9c9fb745f5a24bb30b6477ec619a
treef53b81817b24b3368e7c8b38bf054a98e6d176c6
parentde107dc8008fe559ac39e89cabc4d21d0129684e
bcachefs: Initialize sb_quota with default 1 week timer

For compliance with other quota implementations, we should be
initializing quota information with a default 1 week timelimit: this
fixes fstests generic/235.

Also, this adds to_text() functions for some quota structs - useful
debugging aids.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/quota.c