lstat64:: use Posix st_mode defines
authorTheodore Ts'o <tytso@mit.edu>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
commit9cd152cafd7736ab2c4485f0f471b7b191943e11
treef32db30671851e539bd97c7bc84c439b2a6b85c5
parent9571c7945a32b160329ba078a855c8415732bebf
lstat64:: use Posix st_mode defines

Instead of the  obsolete SysV S_IEXEC, S_IREAD, and S_IWRITE, use
the Posix defines of S_I[WRX]{OTH,GRP,USR}.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
src/lstat64.c