]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: use mount point instead of device name
authorHugh Dickins <hughd@google.com>
Thu, 18 Feb 2016 23:44:25 +0000 (10:44 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:44:25 +0000 (10:44 +1100)
commit93a14f9f6e82f61efd64ddde21bc82e67ab456ae
tree4190174128357dd0ec8d67e07f050f611fb3ed0a
parent27dc8f159c58f744092db58aa7e46b972243c7e4
generic: use mount point instead of device name

A tmpfs mount does not involve any block device, its $SCRATCH_DEV is
nothing but a place-holder, so apply 'df' or 'stat' to its mount point
$SCRATCH_MNT instead of to $SCRATCH_DEV.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Junho Ryu <jayr@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/273