diff options
| author | Tim Schlueter | 2018-11-04 20:14:46 -0800 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:11 -0400 |
| commit | a420eea6890d709b7b9b33222d4fecc7a7ad9bd4 (patch) | |
| tree | 612681209b6d00b2b287a523693406471eb200fc /include/linux/debugobjects.h | |
| parent | 4628529f152782933865257796000f1f6702a9ee (diff) | |
bcachefs: Set the last mount time using the realtime clock
This way the last mount time is actually meaningful instead of just being
various times from 1970 (which happens with the monotonic clock).
Also, roundup_pow_of_two() is undefined when passed in 0, so check before
calling it.
Signed-off-by: Tim Schlueter <schlueter.tim@linux.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
