[PATCH] Fix _require_scratch test for extN, resierfs, gfs2, and btrfs
Christoph Hellwig
hch at infradead.org
Sat Jun 20 12:07:03 CDT 2009
On Fri, Jun 19, 2009 at 04:28:21PM -0400, Theodore Ts'o wrote:
> The extN, reiserfs, gfs2, and btrfs filesysytem types should use the
> same check for a block device as XFS and UDF, and not the test for
> NFS, which was checking for host:/foo/bar/baz when checking for a
> scratch device.
>
> Also, the NFS logic was also incorrect, in that it would allow a
> zero-length SCRATCH_DEV to continue.
Thanks, I've applied this with a small modification to make the local
disk case the default in the case statement so that we don't have to
touch this function when adding support for additional local
filesystems.
More information about the xfs
mailing list