quota: Silence lockdep on quota_on
authorJan Kara <jack@suse.cz>
Wed, 22 Jul 2009 16:12:17 +0000 (18:12 +0200)
committerJan Kara <jack@suse.cz>
Thu, 30 Jul 2009 15:31:23 +0000 (17:31 +0200)
commitdee865656f2d8b866f8ac22c60d6363b914e9f12
tree1fd24f795884c2cfd2b9d06fee104f08236011c7
parent658874f05d040ca96eb5ba9b1c30ce0ff287d762
quota: Silence lockdep on quota_on

Commit d01730d74d2b0155da50d44555001706294014f7 didn't completely fix
the problem since we still take dqio_mutex and i_mutex in the wrong
order. Move taking of i_mutex further down (luckily it's needed only
for updating inode flags) below where dqio_mutex is taken.

Tested-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c