nilfs2: Switch to use %ptTs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 11 May 2021 15:39:57 +0000 (18:39 +0300)
committerPetr Mladek <pmladek@suse.com>
Mon, 17 May 2021 10:01:46 +0000 (12:01 +0200)
commit776797f1bd1caef34c4ca6dd362fa6376b880e10
tree1213f6609a307af7654660c098af9e31004dafa6
parent126ac4d67d97fdeef52b6249702266eb94a05d9e
nilfs2: Switch to use %ptTs

Use %ptTs instead of open coded variant to print contents
of time64_t type in human readable form.

Use sysfs_emit() at the same time in the changed functions.

Cc: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: linux-nilfs@vger.kernel.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210511153958.34527-3-andriy.shevchenko@linux.intel.com
fs/nilfs2/sysfs.c