Преглед изворни кода

ext3 quota support: fix compile failure

This one was due to a merge error: we added a use of nd.path in commit
2d7c820e56ce83b23daee9eb5343730fb309418e ("ext3: add checks for errors
from jbd"), and concurrently we got rid of 'nd' and used a naked 'path'
in commit 8264613def2e5c4f12bc3167713090fd172e6055 ("[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>
Linus Torvalds пре 16 година
родитељ
комит
12e1ec9ff3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fs/ext3/super.c

+ 1 - 1
fs/ext3/super.c

@@ -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);
 		err = journal_flush(EXT3_SB(sb)->s_journal);
 		journal_unlock_updates(EXT3_SB(sb)->s_journal);
 		journal_unlock_updates(EXT3_SB(sb)->s_journal);
 		if (err) {
 		if (err) {
-			path_put(&nd.path);
+			path_put(&path);
 			return err;
 			return err;
 		}
 		}
 	}
 	}