mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN"
This reverts commit 0c5b8b5941
.
This commit is contained in:
@ -35,17 +35,12 @@ __fstatfs64 (int fd, struct statfs64 *buf)
|
||||
if (! __no_statfs64)
|
||||
# endif
|
||||
{
|
||||
int result = INLINE_SYSCALL (fstatfs64, 3, fd, sizeof (*buf), buf);
|
||||
|
||||
# if __ASSUME_STATFS64 == 0
|
||||
INTERNAL_SYSCALL_DECL (err);
|
||||
int result = INTERNAL_SYSCALL (fstatfs64, err, 3, fd,
|
||||
sizeof (*buf), buf);
|
||||
if (!__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (result, err))
|
||||
|| INTERNAL_SYSCALL_ERRNO (result, err) != ENOSYS)
|
||||
return result;
|
||||
# else
|
||||
return INLINE_SYSCALL_RETURN (fstatfs64, 3, int, fd,
|
||||
sizeof (*buf), buf);
|
||||
if (result == 0 || errno != ENOSYS)
|
||||
# endif
|
||||
return result;
|
||||
|
||||
# if __ASSUME_STATFS64 == 0
|
||||
__no_statfs64 = 1;
|
||||
|
Reference in New Issue
Block a user