Skip to contentSkip to conversation

More imformative message on umount failure.

PATCH Dave Jones 1 participant 1 message Feb 3, 2006 VFS

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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.

fs/super.c renamed from fs/super.c~ +3 -2
@@ -247,8 +247,9 @@ void generic_shutdown_super(struct super
 
 		/* 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();