VFS: move inode_lock into sync_sb_inodes
authorHans Reiser <reiser@namesys.com>
Wed, 7 May 2008 12:48:57 +0000 (15:48 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:43 +0000 (17:08 +0300)
commit86cce620b40121aa817c4c74c2d1d9ef95f265a1
tree225f3d402e6c3dbb6011d46a096c80ef9c057756
parenteef6dc4e0029376416f9d6b6a80b808b1a618e9b
VFS: move inode_lock into sync_sb_inodes

This patch makes 'sync_sb_inodes()' lock 'inode_lock', rather
than expect that the caller will do this.

This change was previously done by Hans Reiser <reiser@namesys.com>
and sat in the -mm tree.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/fs-writeback.c