* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Fix indentation.

This commit is contained in:
Corinna Vinschen 2010-06-15 09:58:56 +00:00
parent 5e3dd23eee
commit 51ec3f5c98
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2010-06-15 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Fix indentation.
2010-06-15 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (path_conv::get_ino_by_handle): Convert from

View File

@ -746,9 +746,9 @@ fhandler_disk_file::fstatvfs (struct statvfs *sfs)
{
OBJECT_ATTRIBUTES attr;
opened = NT_SUCCESS (NtOpenFile (&fh, READ_CONTROL,
pc.get_object_attr (attr, sec_none_nih),
&io, FILE_SHARE_VALID_FLAGS,
FILE_OPEN_FOR_BACKUP_INTENT));
pc.get_object_attr (attr, sec_none_nih),
&io, FILE_SHARE_VALID_FLAGS,
FILE_OPEN_FOR_BACKUP_INTENT));
if (!opened)
{
/* Can't open file. Try again with parent dir. */
@ -756,8 +756,8 @@ fhandler_disk_file::fstatvfs (struct statvfs *sfs)
RtlSplitUnicodePath (pc.get_nt_native_path (), &dirname, NULL);
attr.ObjectName = &dirname;
opened = NT_SUCCESS (NtOpenFile (&fh, READ_CONTROL, &attr, &io,
FILE_SHARE_VALID_FLAGS,
FILE_OPEN_FOR_BACKUP_INTENT));
FILE_SHARE_VALID_FLAGS,
FILE_OPEN_FOR_BACKUP_INTENT));
if (!opened)
goto out;
}