diff options
Diffstat (limited to 'fs/ext3')
-rw-r--r-- | fs/ext3/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index f2dd71336612..813d589cc6c0 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
@@ -2614,7 +2614,7 @@ static ssize_t ext3_quota_write(struct super_block *sb, int type, | |||
2614 | struct buffer_head *bh; | 2614 | struct buffer_head *bh; |
2615 | handle_t *handle = journal_current_handle(); | 2615 | handle_t *handle = journal_current_handle(); |
2616 | 2616 | ||
2617 | mutex_lock(&inode->i_mutex); | 2617 | mutex_lock_nested(&inode->i_mutex, I_MUTEX_QUOTA); |
2618 | while (towrite > 0) { | 2618 | while (towrite > 0) { |
2619 | tocopy = sb->s_blocksize - offset < towrite ? | 2619 | tocopy = sb->s_blocksize - offset < towrite ? |
2620 | sb->s_blocksize - offset : towrite; | 2620 | sb->s_blocksize - offset : towrite; |