]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: log unmount events on console
authorEric Sandeen <sandeen@sandeen.net>
Mon, 23 Feb 2015 23:13:37 +0000 (10:13 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Feb 2015 23:13:37 +0000 (10:13 +1100)
commitd9c4f185f23912ca2e1b4f42214904787cb57f3b
tree85f826eb1dcc475b695a959fcb43f3772b2cd616
parentb2a60208ee04492e771de386ac23e1de1e97582d
xfs: log unmount events on console

There are times, when doing triage and forensics,
that we would like to know whether a filesystem was unmounted,
or if the plug was pulled without a clean unmount.  Log
unmounts at the same level (NOTICE) as we log mounts.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_super.c