Re: [PATCH] libnetfs file-utimes.c unnecessary computations

2008-07-01 Thread Samuel Thibault
Flávio Cruz, le Tue 01 Jul 2008 22:34:03 +, a écrit : > In file-utimes.c the port existence is only verified after some > computations on the atime and mtime timespec's are done. That is > unnecessary when we exit with EOPNOTSUPP. Mmm, does that happen often? The good thing in the current cod

[PATCH] libnetfs file-utimes.c unnecessary computations

2008-07-01 Thread Flávio Cruz
Hey folks, In file-utimes.c the port existence is only verified after some computations on the atime and mtime timespec's are done. That is unnecessary when we exit with EOPNOTSUPP. This patches just changes the order of the check. Index: file-utimes.c