Re: [PATCH] UBIFS: fill f_fsid

From: Christoph Hellwig
Date: Tue Sep 02 2008 - 17:48:56 EST


On Tue, Sep 02, 2008 at 10:26:09PM +0100, David Woodhouse wrote:
> > We also called the filesystem part of the NFS filehandle in a few
> > places, and for those it's correct that it should be stable. Currently
> > the fsid is either created from the dev_t in kernelspace or from
> > uuids extracted through libuuid in userspace.
>
> Or from the f_fsid returned in statfs(), as of a week or so ago.

I think that's a rather bad idea. As mentioned before f_fsid is
basically random.

--
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/