Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b4fe29e authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

[PATCH] More informative message on umount failure



We had a user trigger this message on a box that had a lot of different
mounts, all with different options.  It might help narrow down wtf happened
if we print out which device failed.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1fcbf053
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -247,8 +247,9 @@ void generic_shutdown_super(struct super_block *sb)


		/* Forget any remaining inodes */
		/* Forget any remaining inodes */
		if (invalidate_inodes(sb)) {
		if (invalidate_inodes(sb)) {
			printk("VFS: Busy inodes after unmount. "
			printk("VFS: Busy inodes after unmount of %s. "
			   "Self-destruct in 5 seconds.  Have a nice day...\n");
			   "Self-destruct in 5 seconds.  Have a nice day...\n",
			   sb->s_id);
		}
		}


		unlock_kernel();
		unlock_kernel();