xfs
[Top] [All Lists]

TAKE - Fix xfs_growfs device extraction

Subject: TAKE - Fix xfs_growfs device extraction
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Sun, 15 Jul 2001 23:53:58 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
We were parsing mount options by splitting tokens on " " while Linux
mount separates options by "," - so when xfs_growfs tried to identify
the external log or realtime device, it got any following options as part
of the device string (i.e. logdev looked like "/dev/sda1,logbufs=4").

Splitting mount options on "," solves this (but left the " " in for
good measure.)

Date:  Sun Jul 15 21:48:00 PDT 2001
Workarea:  chuckle.americas.sgi.com:/export/xfs1/eric/linux-2.4-xfs/workarea

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:98916a
cmd/xfsprogs/growfs/xfs_growfs.c - 1.5
        - Correct parsing of mount options from hasmntopt() - parse on ","
          to split out individual mount options.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Fix xfs_growfs device extraction, Eric Sandeen <=