[PATCH] statfs: detect more filesystems on Linux

Yuya Nishihara yuya at tcha.org
Sun Mar 26 07:29:09 EDT 2017


On Sat, 25 Mar 2017 13:06:53 -0700, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1490471935 25200
> #      Sat Mar 25 12:58:55 2017 -0700
> # Node ID 99337cfe021d5222a9420ae0d7e9b29c2d03573b
> # Parent  c60091fa1426892552dd6c0dd4b9c49e3c3da045
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r 99337cfe021d
> statfs: detect more filesystems on Linux

Queued, thanks.

> +#ifdef OVERLAYFS_SUPER_MAGIC
> +	if (pbuf->f_type == OVERLAYFS_SUPER_MAGIC)
> +		return "overlay";
> +#endif

Confirmed this should have no "fs" suffix.


More information about the Mercurial-devel mailing list