Tigran Aivazian <tigran@sco.COM> said:
> This patch reduces the length of holding kernel lock and removes one extra
> initialization and a goto label from sys_access() and uses if(mode &
> ~mask) instead of if(mode != (mode&mask)).
Careful!
mode = 0xFF0F
mask = 0xF000
mode & ~mask == 0x0F00, i.e., true
mode & mask == 0xFF00 != mode
-- Horst von Brand vonbrand@sleipnir.valparaiso.cl Casilla 9G, Viņa del Mar, Chile +56 32 672616- 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/
This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:23 EST