]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove extra IS_RDONLY() check
authorDave Hansen <haveblue@us.ibm.com>
Wed, 18 Jul 2007 12:33:51 +0000 (08:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Jul 2007 12:33:51 +0000 (08:33 -0400)
commit3671340d06471efc6f6f92c52ffaea77d440dd4e
tree9b3e50339d09ea5a7786369fda4da6ecf597d4dd
parent720e900ab13ba0e9c870e0ebcc1a481e4f45237b
ext4: remove extra IS_RDONLY() check

ext4_change_inode_journal_flag() is only called from one location:
ext4_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: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c