diff options
author | Tao Ma <boyu.mt@taobao.com> | 2011-10-07 23:21:18 +0800 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-10-10 18:25:59 +0200 |
commit | 40bfa16dac2adcded9e2eda58246cc3700d97de4 (patch) | |
tree | c2af949d3cfe42f0dfc935e8d6901e5114d7e2fd /include/linux/ext3_fs_sb.h | |
parent | bc1123239ab950798779ca4e23228afb5443eb5d (diff) | |
download | linux-40bfa16dac2adcded9e2eda58246cc3700d97de4.tar.gz linux-40bfa16dac2adcded9e2eda58246cc3700d97de4.tar.bz2 linux-40bfa16dac2adcded9e2eda58246cc3700d97de4.zip |
ext3: Remove the obsolete broken EXT3_IOC32_WAIT_FOR_READONLY.
There are no user of EXT3_IOC32_WAIT_FOR_READONLY and also it is
broken. No one set the set_ro_timer, no one wake up us and our
state is set to TASK_INTERRUPTIBLE not RUNNING. So remove it.
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/ext3_fs_sb.h')
-rw-r--r-- | include/linux/ext3_fs_sb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/ext3_fs_sb.h b/include/linux/ext3_fs_sb.h index 258088ab3c6b..64365252f1b0 100644 --- a/include/linux/ext3_fs_sb.h +++ b/include/linux/ext3_fs_sb.h @@ -76,10 +76,6 @@ struct ext3_sb_info { struct mutex s_resize_lock; unsigned long s_commit_interval; struct block_device *journal_bdev; -#ifdef CONFIG_JBD_DEBUG - struct timer_list turn_ro_timer; /* For turning read-only (crash simulation) */ - wait_queue_head_t ro_wait_queue; /* For people waiting for the fs to go read-only */ -#endif #ifdef CONFIG_QUOTA char *s_qf_names[MAXQUOTAS]; /* Names of quota files with journalled quota */ int s_jquota_fmt; /* Format of quota to use */ |