remove superfluous volatile keywords

This commit is contained in:
Thomas Schoebel-Theuer 2012-02-01 13:47:35 +01:00 committed by Thomas Schoebel-Theuer
parent 281c371d49
commit 7200a93c7c
3 changed files with 6 additions and 6 deletions

View File

@ -62,7 +62,7 @@ struct aio_output {
struct aio_threadinfo tinfo[3];
aio_context_t ctxp;
wait_queue_head_t fdsync_event;
volatile bool fdsync_active;
bool fdsync_active;
// statistics
atomic_t total_read_count;
atomic_t total_write_count;

View File

@ -42,8 +42,8 @@ struct copy_mref_aspect {
struct copy_brick {
MARS_BRICK(copy);
// parameters
volatile loff_t copy_start;
volatile loff_t copy_end; // stop working if == 0
loff_t copy_start;
loff_t copy_end; // stop working if == 0
int io_prio;
int append_mode; // 1 = passively, 2 = actively
bool verify_mode;
@ -55,8 +55,8 @@ struct copy_brick {
bool low_dirty;
bool is_aborting;
// internal
volatile bool trigger;
volatile unsigned long clash;
bool trigger;
unsigned long clash;
atomic_t io_flight;
atomic_t copy_flight;
long long last_jiffies;

View File

@ -56,7 +56,7 @@ struct mars_global {
loff_t total_space;
loff_t remaining_space;
int global_version;
volatile bool main_trigger;
bool main_trigger;
bool exhausted;
};