summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs/tmpfs_subr.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-08-10 16:31:15 +0000
committerjhb <jhb@FreeBSD.org>2016-08-10 16:31:15 +0000
commit98c45f70e622fc63ef03c36a9a577d6816c6c396 (patch)
tree4417a33a592cbea70eb35a36e2b7d2ad7412df6a /sys/fs/tmpfs/tmpfs_subr.c
parent7d5f37a1c6dc075a321bb32445b70f87f39a768c (diff)
downloadFreeBSD-src-98c45f70e622fc63ef03c36a9a577d6816c6c396.zip
FreeBSD-src-98c45f70e622fc63ef03c36a9a577d6816c6c396.tar.gz
MFC 273102:
Use '-e' to check if the virtio backing file has already been created. The '-f' check works fine on a regular file but not if the backing file is a device (e.g., /dev/md0). In this case it would print a misleading but otherwise benign message about the backing file not being present. PR: 210410
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_subr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud