[PATCH] lockdep: annotate the quota code
[deliverable/linux.git] / fs / ufs / super.c
index 19a99726e58dd7fbaf00f2bb17bbe3a8764503fe..992ee0b87cc3f7835fa376c75733822d9ddfbdc6 100644 (file)
@@ -1326,7 +1326,7 @@ static ssize_t ufs_quota_write(struct super_block *sb, int type,
        size_t towrite = len;
        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.050185 seconds and 5 git commands to generate.