* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
of get_stat_handle () to get_handle (). Add comment to explain why. * syscalls.cc (statvfs): Drop using PC_KEEP_HANDLE.
This commit is contained in:
@ -2568,8 +2568,7 @@ statvfs (const char *name, struct statvfs *sfs)
|
||||
if (efault.faulted (EFAULT))
|
||||
goto error;
|
||||
|
||||
if (!(fh = build_fh_name (name, PC_SYM_FOLLOW | PC_KEEP_HANDLE,
|
||||
stat_suffixes)))
|
||||
if (!(fh = build_fh_name (name, PC_SYM_FOLLOW, stat_suffixes)))
|
||||
goto error;
|
||||
|
||||
if (fh->error ())
|
||||
|
Reference in New Issue
Block a user