| To: | Felix Janda <felix.janda@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/6] libxfs/linux.c: Replace use of ustat by stat |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 13 Jan 2016 08:24:54 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160112195945.GC568@nyan> |
| References: | <cover.1452627740.git.felix.janda@xxxxxxxxx> <20160112195945.GC568@nyan> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 12, 2016 at 08:59:45PM +0100, Felix Janda wrote: > ustat has been used to check whether a device file is mounted. > The function is deprecated and not supported by uclibc and musl. > Now do the check using the *mntent functions. Which will cause problems with builds on other platforms. Why not just use statfs() instead? Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/6] Move from __uint*_t types to uint*_t and likewise for __int*_t, Dave Chinner |
|---|---|
| Next by Date: | Re: [PATCH 6/6] Add configure check for members of dirent for use in io/readdir.c, Dave Chinner |
| Previous by Thread: | [PATCH 2/6] libxfs/linux.c: Replace use of ustat by stat, Felix Janda |
| Next by Thread: | Re: [PATCH 2/6] libxfs/linux.c: Replace use of ustat by stat, Felix Janda |
| Indexes: | [Date] [Thread] [Top] [All Lists] |