* fhandler_disk_file.cc (fhandler_base::fstat_fs): Fix comment.

This commit is contained in:
Corinna Vinschen 2013-10-25 15:33:51 +00:00
parent f0b101007a
commit 46943206dc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-10-25 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Fix comment.
2013-10-25 Corinna Vinschen <corinna@vinschen.de> 2013-10-25 Corinna Vinschen <corinna@vinschen.de>
* fhandler_clipboard.cc (fhandler_dev_clipboard::open): Drop gratuitios * fhandler_clipboard.cc (fhandler_dev_clipboard::open): Drop gratuitios

View File

@ -492,7 +492,7 @@ fhandler_base::fstat_fs (struct stat *buf)
if (oret) if (oret)
{ {
/* We now have a valid handle, regardless of the "nohandle" state. /* We now have a valid handle, regardless of the "nohandle" state.
Since fhandler_base::open only calls CloseHandle if !nohandle, Since fhandler_base::close only calls CloseHandle if !nohandle,
we have to set it to false before calling close and restore we have to set it to false before calling close and restore
the state afterwards. */ the state afterwards. */
res = pc.fs_is_nfs () ? fstat_by_nfs_ea (buf) : fstat_by_handle (buf); res = pc.fs_is_nfs () ? fstat_by_nfs_ea (buf) : fstat_by_handle (buf);