[Ocfs2-tools-devel] [PATCH 1/1] Ocfs2-tools: Add quota corruption codes to fswreck.

Joel Becker Joel.Becker at oracle.com
Wed Sep 30 13:45:14 PDT 2009


On Wed, Sep 30, 2009 at 03:25:32PM +0200, Jan Kara wrote:
>   Hi Tristan,
> 
> >> +		ddquot->dqb_id = getuid();
>   I suppose you want to use some random UID here. Maybe using 0xffffffff
> might be better because it's most probably invalid.

	Don't use -1; that's nobody, which can happen when exported via
NFS.  Use something like -10.

Joel

-- 

Dort wo man Bücher verbrennt, verbrennt man am Ende auch Mensch.
(Wherever they burn books, they will also end up burning people.)
	- Heinrich Heine

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list