Re: [PATCH] UBIFS: fill f_fsid

Christoph Hellwig
2008-09-02T21:48:55Z

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.