Re: [PATCH 2/2] libxfs: remove getcwd/chdir dance from initialization

Eric Sandeen
2017-09-08T16:41:11Z

On 9/3/17 8:18 PM, Darrick J. Wong wrote:
> Back in the old days of Irix, the library saved and restored chdir so
> that (I guess?) check_open can change directory without screwing up our
> ability to use relative paths. However, there's nothing in Linux that
> actually does this, so just rip out the getcwd/chdir stuff since we
> absolute device paths work just fine without it.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Thanks.

Reviewed-by: Eric Sandeen <sandeen@redhat.com>