]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/reiserfs/super.c
[PATCH] lockdep: annotate the quota code
[linux-2.6-omap-h63xx.git] / fs / reiserfs / super.c
index 28eb3c886034481e8093342d7c7225b125c27f5d..5567328f10415c85fbbe068672ed85a5f7ad0ead 100644 (file)
@@ -2203,7 +2203,7 @@ static ssize_t reiserfs_quota_write(struct super_block *sb, int type,
        size_t towrite = len;
        struct buffer_head tmp_bh, *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;