]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - libxfs/xfs_rtalloc.c
Undoes mod: xfs-cmds:slinx:120772a
[thirdparty/xfsprogs-dev.git] / libxfs / xfs_rtalloc.c
index 4fd9b6f02e31e2e0149306fa99a9a45032a98fcc..9f1c89155db1055f30f05bb939770952982eedf0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.
+ * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
  * 
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of version 2 of the GNU General Public License as
@@ -802,7 +802,7 @@ xfs_rtmount_init(
        sbp = &mp->m_sb;
        if (sbp->sb_rblocks == 0)
                return 0;
-       if (!mp->m_rtdev) {
+       if (kdev_none(mp->m_rtdev)) {
                printk(KERN_WARNING
                "XFS: This FS has an RT subvol - specify -o rtdev on mount\n");
                return XFS_ERROR(ENODEV);