Skip to content

Commit

Permalink
ext3 quota support: fix compile failure
Browse files Browse the repository at this point in the history
This one was due to a merge error: we added a use of nd.path in commit
2d7c820 ("ext3: add checks for errors
from jbd"), and concurrently we got rid of 'nd' and used a naked 'path'
in commit 8264613 ("[PATCH] switch
quota_on-related stuff to kern_path()").

That all merged cleanly, but it didn't actually _work_.  This should fix
it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Linus Torvalds committed Oct 23, 2008
1 parent 1f6d6e8 commit 12e1ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -2836,7 +2836,7 @@ static int ext3_quota_on(struct super_block *sb, int type, int format_id,
err = journal_flush(EXT3_SB(sb)->s_journal);
journal_unlock_updates(EXT3_SB(sb)->s_journal);
if (err) {
path_put(&nd.path);
path_put(&path);
return err;
}
}
Expand Down

0 comments on commit 12e1ec9

Please sign in to comment.