diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-04-15 02:09:36 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-04-19 14:00:41 -0400 |
commit | 46f84c2c058784f42f2d021df79384ec66cdb256 (patch) | |
tree | 171b15995bd56f593b7850904c239d840d2e6de6 /fs/f2fs/f2fs.h | |
parent | 004b68621897f06aa2817e7438469d23f4a3a284 (diff) |
f2fs: clean up discard_cmd_control structure
Avoid long variable name in discard_cmd_control structure, no logic
change.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index ee7d6105a7a5..c1faf6d35a8d 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -220,12 +220,12 @@ struct discard_cmd { | |||
220 | 220 | ||
221 | struct discard_cmd_control { | 221 | struct discard_cmd_control { |
222 | struct task_struct *f2fs_issue_discard; /* discard thread */ | 222 | struct task_struct *f2fs_issue_discard; /* discard thread */ |
223 | struct list_head discard_entry_list; /* 4KB discard entry list */ | 223 | struct list_head entry_list; /* 4KB discard entry list */ |
224 | int nr_discards; /* # of discards in the list */ | 224 | struct list_head pend_list; /* store pending entries */ |
225 | struct list_head discard_pend_list; /* store pending entries */ | 225 | struct list_head wait_list; /* store on-flushing entries */ |
226 | struct list_head discard_wait_list; /* store on-flushing entries */ | ||
227 | wait_queue_head_t discard_wait_queue; /* waiting queue for wake-up */ | 226 | wait_queue_head_t discard_wait_queue; /* waiting queue for wake-up */ |
228 | struct mutex cmd_lock; | 227 | struct mutex cmd_lock; |
228 | int nr_discards; /* # of discards in the list */ | ||
229 | int max_discards; /* max. discards to be issued */ | 229 | int max_discards; /* max. discards to be issued */ |
230 | atomic_t issued_discard; /* # of issued discard */ | 230 | atomic_t issued_discard; /* # of issued discard */ |
231 | atomic_t issing_discard; /* # of issing discard */ | 231 | atomic_t issing_discard; /* # of issing discard */ |