summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@foxmail.com>2015-02-24 10:15:04 +1100
committerDave Chinner <david@fromorbit.com>2015-02-24 10:15:04 +1100
commitdd5e71274a6707c638d76b62361ae5d521ba6fb6 (patch)
tree43934cafd07b3229071645afa162268ae6320fe4 /fs
parentfdadf2676aeebbbfb7a28790471fb982fdf388fa (diff)
downloadop-kernel-dev-dd5e71274a6707c638d76b62361ae5d521ba6fb6.zip
op-kernel-dev-dd5e71274a6707c638d76b62361ae5d521ba6fb6.tar.gz
xfs: remove old and redundant comment in xfs_mount_validate_sb
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/libxfs/xfs_sb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/libxfs/xfs_sb.c b/fs/xfs/libxfs/xfs_sb.c
index b0a5fe9..f3ea02b 100644
--- a/fs/xfs/libxfs/xfs_sb.c
+++ b/fs/xfs/libxfs/xfs_sb.c
@@ -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;
OpenPOWER on IntegriCloud