ext4: remove the obsolete/broken EXT4_IOC_WAIT_FOR_READONLY ioctl
authorTao Ma <boyu.mt@taobao.com>
Sat, 8 Oct 2011 19:56:35 +0000 (15:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 8 Oct 2011 19:56:35 +0000 (15:56 -0400)
commit7fd59c83b05dc1b8af2be4d991ee376f782cd8b0
tree0d320a397b687f822167749afbb11d89d9f21a66
parentdf3ab17072c31fbd394614711772682f0a956a2c
ext4: remove the obsolete/broken EXT4_IOC_WAIT_FOR_READONLY ioctl

There are no users of the EXT4_IOC_WAIT_FOR_READONLY ioctl, and it is
also broken.  No one sets the set_ro_timer, no one wakes up us and our
state is set to TASK_INTERRUPTIBLE not RUNNING.  So remove it.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ioctl.c