pass ->f_flags value to alloc_empty_file()