ext3: remove extra IS_RDONLY() check
authorDave Hansen <haveblue@us.ibm.com>
Mon, 16 Jul 2007 06:41:14 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:48 +0000 (09:05 -0700)
commite3a68e30d28dbc6981dfc3d6ceddbfa2f885fe4e
treef15372ae04f4eaea734c1c6935ae65887acf4c3c
parent6b86e854f71600c809536502a0efa9d4e384fb23
ext3: remove extra IS_RDONLY() check

ext3_change_inode_journal_flag() is only called from one location:
ext3_ioctl(EXT3_IOC_SETFLAGS).  That ioctl case already has a IS_RDONLY()
call in it so this one is superfluous.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/inode.c