This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #15305] Preserve errno across pathconf on XFS
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 02 Apr 2013 19:18:01 +0200
- Subject: Re: [PATCH][BZ #15305] Preserve errno across pathconf on XFS
- References: <20130401124944 dot GP17540 at spoyarek dot pnq dot redhat dot com> <m2r4iu1jzk dot fsf at igel dot home> <20130401132031 dot GR17540 at spoyarek dot pnq dot redhat dot com>
Siddhesh Poyarekar <siddhesh@redhat.com> writes:
> [BZ #15305]
> * sysdeps/unix/sysv/linux/kernel-features.h
> [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
> __ASSUME_XFS_RESTRICTED_CHOWN.
> * sysdeps/unix/sysv/linux/pathconf.c
> (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
> Save and restore errno.
Looks good.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."