]> git.karo-electronics.de Git - linux-beck.git/commitdiff
xfs: remove old and redundant comment in xfs_mount_validate_sb
authorWang Sheng-Hui <shhuiw@foxmail.com>
Mon, 23 Feb 2015 23:15:04 +0000 (10:15 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Feb 2015 23:15:04 +0000 (10:15 +1100)
The error messages document the reason for the checks better than the comment
and the comments about volume mounts date back to Irix and so aren't relevant
any more. So just remove the old and redundant comment.

Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_sb.c

index b0a5fe95a3e22d0c56f2ba482814da2a68b9a318..f3ea02bf893e33717455f0e9b11f4f156bbe7c2e 100644 (file)
@@ -111,14 +111,6 @@ xfs_mount_validate_sb(
        bool            check_inprogress,
        bool            check_version)
 {
-
-       /*
-        * If the log device and data device have the
-        * same device number, the log is internal.
-        * Consequently, the sb_logstart should be non-zero.  If
-        * we have a zero sb_logstart in this case, we may be trying to mount
-        * a volume filesystem in a non-volume manner.
-        */
        if (sbp->sb_magicnum != XFS_SB_MAGIC) {
                xfs_warn(mp, "bad magic number");
                return -EWRONGFS;