summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdcore.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-03-22 14:23:43 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-25 04:17:51 +0300
commit0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1 (patch)
tree422e2923193f5ac4ea2a6864a6635878ad58c43b /drivers/mtd/mtdcore.c
parent67a23c494621ff1d5431c3bc320947865b224625 (diff)
downloadlinux-0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1.tar.xz
fs: pull inode->i_lock up out of writeback_single_inode
First thing we do in writeback_single_inode() is take the i_lock and the last thing we do is drop it. A caller already holds the i_lock, so pull the i_lock out of writeback_single_inode() to reduce the round trips on this lock during inode writeback. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/mtd/mtdcore.c')
0 files changed, 0 insertions, 0 deletions