]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/dquot.c
Driver core: add missing kset uevent
[linux-2.6-omap-h63xx.git] / fs / dquot.c
index 3a995841de90e0f648dc915ba450a2aaf7fa9674..8819d281500c977118c8e0af8bf0ee0904f966e4 100644 (file)
@@ -1421,7 +1421,7 @@ int vfs_quota_off(struct super_block *sb, int type)
                        /* If quota was reenabled in the meantime, we have
                         * nothing to do */
                        if (!sb_has_quota_enabled(sb, cnt)) {
-                               mutex_lock(&toputinode[cnt]->i_mutex);
+                               mutex_lock_nested(&toputinode[cnt]->i_mutex, I_MUTEX_QUOTA);
                                toputinode[cnt]->i_flags &= ~(S_IMMUTABLE |
                                  S_NOATIME | S_NOQUOTA);
                                truncate_inode_pages(&toputinode[cnt]->i_data, 0);