Re: [RFC][PATCH 00/12] Enhanced file stat system call

From: Christoph Hellwig
Date: Tue Nov 24 2015 - 03:50:30 EST


On Tue, Nov 24, 2015 at 09:48:22AM +0100, Martin Steigerwald wrote:
> It might be interesting for BTRFS as well, to be able to ask what amount of
> free space there currently is *at* a given path. Cause with BTRFS and
> Subvolumes this may differ between different paths.

We can handle this trivial with the current statfs interface. Take a
look at xfs_fs_statfs and xfs_qm_statvfs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/