commit | c859cb1de0d624caa0779fb17d1a53766143136e | [log] [tgz] |
---|---|---|
author | Lukas Czerner <lczerner@redhat.com> | Thu Sep 15 23:44:48 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Sep 15 23:46:57 2011 -0400 |
tree | 0cbd868dc9bcda7eeb2463535b38f34aad6587e4 | |
parent | db8bbf27c9eeaa9c1803fb52a6cc7a60c5250c7e [diff] |
e2fsprogs: create open() and stat() helpers In many places we are using #ifdef HAVE_OPEN64 to determine if we can use open64() but that's ugly. This commit creates two new helpers ext2fs_open_file() for open() and ext2fs_stat() for stat(). Also we need new typedef ext2fs_struct_stat for struct stat. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>