* fhandler.h (enum query_state): Drop redundant query_stat_control.

* fhandler.cc (fhandler_base::open): Ditto.  Add READ_CONTROL to
	access and FILE_OPEN_FOR_BACKUP_INTENT to create_options when opening
	for writing.  Always set security attributes to avoid calling
	has_acls.
	* fhandler_disk_file.cc (fhandler_base::fstat_fs): Don't try to
	open file twice.
This commit is contained in:
Corinna Vinschen
2007-07-27 08:38:00 +00:00
parent 214c3a1167
commit fe7bbe1504
4 changed files with 18 additions and 20 deletions

View File

@ -86,9 +86,8 @@ enum query_state {
no_query = 0,
query_read_control = 1,
query_read_attributes = 2,
query_stat_control = 3,
query_write_control = 4,
query_write_attributes = 5
query_write_control = 3,
query_write_attributes = 4
};
class fhandler_base