Re: [PATCH] UBIFS: fill f_fsid

Andreas Dilger
2008-09-02T19:13:59Z

On Sep 02, 2008 18:29 +0100, David Woodhouse wrote:
> Yes, putting st_dev in f_fsid probably isn't a good thing to do.
>
> I realised that we already have the
> f_fsid field in struct statfs, and we might as well just use that. That
> does seem to be what it was _designed_ for, after all.

My bad - I had looked back in email archives about this issue and got
the export operation solution stuck in my head...

Yes, using f_fsid is the right way to do this, assuming NFSD plays along.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.