[PATCH] lockdep: annotate the quota code
[deliverable/linux.git] / fs / ext2 / super.c
index 9f43879d6d68dd7dd859eb331b988c7f3e6fb754..f2702cda977981673264f96c33f8d974545d9694 100644 (file)
@@ -1157,7 +1157,7 @@ static ssize_t ext2_quota_write(struct super_block *sb, int type,
        struct buffer_head tmp_bh;
        struct buffer_head *bh;
 
-       mutex_lock(&inode->i_mutex);
+       mutex_lock_nested(&inode->i_mutex, I_MUTEX_QUOTA);
        while (towrite > 0) {
                tocopy = sb->s_blocksize - offset < towrite ?
                                sb->s_blocksize - offset : towrite;
This page took 0.025442 seconds and 5 git commands to generate.