Skip to content

Commit

Permalink
[PATCH] More informative message on umount failure
Browse files Browse the repository at this point in the history
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: Dave Jones <davej@redhat.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Dave Jones authored and Linus Torvalds committed Feb 8, 2006
1 parent 1fcbf05 commit 7b4fe29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,9 @@ void generic_shutdown_super(struct super_block *sb)

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

unlock_kernel();
Expand Down

0 comments on commit 7b4fe29

Please sign in to comment.