Re: [PATCH] Minor cleanup/fix in quota_on().

Jan Kara (jack@atrey.karlin.mff.cuni.cz)
Tue, 4 May 1999 12:29:02 +0200


> quota_on() contains almost verbatim copy of filp_open(), except
> that it returns EMFILE instead of ENFILE (wrong, since EMFILE is about
> per-process limit and it's not the case here) and calls open_namei() with
> slightly wrong arguments (as the result read permissions are not checked).
> I replaced the cruft with call of filp_open(). Could you apply the
> following patch?
Ooops. Your patch seems to collide with mine fixes in quotas (I also did some
cleanup in quota_on, added locks for serializing quota_on, quota_off...). I'll
probably merge your cleanup with mine and submit it...

Honza.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/