]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add unmount filesystem message
authorZhang Yi <yi.zhang@huawei.com>
Tue, 12 Apr 2022 14:53:20 +0000 (22:53 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 13 May 2022 21:00:39 +0000 (17:00 -0400)
commit7e0ec93f71d726a3673a22a392f0bbd81d6e3aa9
treebfd0d2bbec1c3920bf24a52da6563b203ec3e02e
parentc517e9a5ba35344641d3ae6e31f4fe0e27c8fa29
ext4: add unmount filesystem message

Now that we have kernel message at mount time, system administrator
could acquire the mount time, device and options easily. But we don't
have corresponding unmounting message at umount time, so we cannot know
if someone umount a filesystem easily. Some of the modern filesystems
(e.g. xfs) have the umounting kernel message, so add one for ext4
filesystem for convenience.

 EXT4-fs (sdb): mounted filesystem with ordered data mode. Quota mode: none.
 EXT4-fs (sdb): unmounting filesystem.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220412145320.2669897-1-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c