From: Marcin Slusarz Date: Tue, 2 Dec 2008 12:40:11 +0000 (+0100) Subject: udf: fix default mode and dmode options handling X-Git-Tag: v2.6.30-rc1~235^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87bc730c07a0884d14d6af5c9d49f4669c0a0589;p=pandora-kernel.git udf: fix default mode and dmode options handling On x86 (and several other archs) mode_t is defined as "unsigned short" and comparing unsigned shorts to negative ints is broken (because short is promoted to int and then compared). Fix it. Reported-and-tested-by: Laurent Riffard Signed-off-by: Marcin Slusarz Signed-off-by: Jan Kara --- Reading git-diff-tree failed