Whamcloud - gitweb
LU-1337 vfs: kernel 3.3 hides vfsmount guts
[fs/lustre-release.git] / lustre / obdclass / obd_mount.c
index 56a4492..e26df3c 100644 (file)
@@ -1666,15 +1666,15 @@ static void server_wait_finished(struct vfsmount *mnt)
                        (mnt_get_count(mnt) == 1),
                        cfs_time_seconds(3),
                        rc);
-              cfs_restore_sigs(blocked);
-               if (rc < 0) {
-                       LCONSOLE_EMERG("Danger: interrupted umount %s with "
-                                      "%d refs!\n", mnt->mnt_devname,
-                                      mnt_get_count(mnt));
-                       break;
-               }
-
-       }
+               cfs_restore_sigs(blocked);
+               if (rc < 0) {
+                       LCONSOLE_EMERG("Danger: interrupted umount %s with "
+                               "%d refs!\n", mnt_get_devname(mnt),
+                               mnt_get_count(mnt));
+                       break;
+               }
+
+       }
 }
 
 /** Start the shutdown of servers at umount.