Peter Xu <pet...@redhat.com> wrote: > This new helper fetches file system type for a fd. Only Linux is > implemented so far. Currently only tmpfs and hugetlbfs is defined, but it
s/is/are/ > can grow per need. > > Signed-off-by: Peter Xu <pet...@redhat.com> Reviewed-by: Juan Quintela <quint...@redhat.com> ... > +#include <linux/magic.h> ... > + case TMPFS_MAGIC: ... > + case HUGETLBFS_MAGIC: Everybody loves magic, right? O:-)