OSDN Git Service

libe2p: reach unreachable code
authorEric Sandeen <sandeen@redhat.com>
Fri, 16 Sep 2011 20:49:26 +0000 (15:49 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 22:43:05 +0000 (18:43 -0400)
commit06e41ddea9aa7d01c9804d0da162a00efdc42d84
tree757c208851dab9d9541e6c82e6fcafdb21ab2c5b
parent4ebbc0a310b8c2dc239a6b4a99e65331872dcf9a
libe2p: reach unreachable code

The EOPNOTSUPP case is unreachable, being outside a set of:
 #if
...
return;
 #else
...
return;
 #endif

Fix this up so that if neither HAVE_CHFLAGS nor
HAVE_EXT2_IOCTLS applies, we set EOPNOTSUPP.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/e2p/setflags.c