]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
xfs: remove the biosize mount option
authorIan Kent <raven@themaw.net>
Mon, 28 Oct 2019 15:41:42 +0000 (08:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 29 Oct 2019 16:50:12 +0000 (09:50 -0700)
It appears the biosize mount option hasn't been documented as a valid
option since 2005, remove it.

Signed-off-by: Ian Kent <raven@themaw.net>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_super.c

index 0a8cf6b87a214469f1c80c7a298c39607abe291f..589c080cabfe9d25d4c133d0a3455794197f41e4 100644 (file)
@@ -50,7 +50,7 @@ static struct xfs_kobj xfs_dbg_kobj;  /* global debug sysfs attrs */
  * Table driven mount option parser.
  */
 enum {
-       Opt_logbufs, Opt_logbsize, Opt_logdev, Opt_rtdev, Opt_biosize,
+       Opt_logbufs, Opt_logbsize, Opt_logdev, Opt_rtdev,
        Opt_wsync, Opt_noalign, Opt_swalloc, Opt_sunit, Opt_swidth, Opt_nouuid,
        Opt_grpid, Opt_nogrpid, Opt_bsdgroups, Opt_sysvgroups,
        Opt_allocsize, Opt_norecovery, Opt_inode64, Opt_inode32, Opt_ikeep,
@@ -66,7 +66,6 @@ static const match_table_t tokens = {
        {Opt_logbsize,  "logbsize=%s"}, /* size of XFS log buffers */
        {Opt_logdev,    "logdev=%s"},   /* log device */
        {Opt_rtdev,     "rtdev=%s"},    /* realtime I/O device */
-       {Opt_biosize,   "biosize=%u"},  /* log2 of preferred buffered io size */
        {Opt_wsync,     "wsync"},       /* safe-mode nfs compatible mount */
        {Opt_noalign,   "noalign"},     /* turn off stripe alignment */
        {Opt_swalloc,   "swalloc"},     /* turn on stripe width allocation */
@@ -228,7 +227,6 @@ xfs_parseargs(
                                return -ENOMEM;
                        break;
                case Opt_allocsize:
-               case Opt_biosize:
                        if (suffix_kstrtoint(args, 10, &iosize))
                                return -EINVAL;
                        iosizelog = ffs(iosize) - 1;