* 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:
Corinna Vinschen
2010-08-20 08:52:25 +00:00
parent fb20493f3d
commit dd442880af
3 changed files with 12 additions and 3 deletions

View File

@ -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 ())