]> err.no Git - linux-2.6/blobdiff - fs/ext4/super.c
freescale DIU: bug fix: add sanity check for AOI position
[linux-2.6] / fs / ext4 / super.c
index 09e3c56782a7e5c43a82df94686f1c17793e17b2..d5d77958b861b9fc29114965a566a7e2dfdd4a84 100644 (file)
@@ -3370,8 +3370,9 @@ static int ext4_quota_on(struct super_block *sb, int type, int format_id,
                jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal);
        }
 
+       err = vfs_quota_on_path(sb, type, format_id, &nd.path);
        path_put(&nd.path);
-       return vfs_quota_on(sb, type, format_id, path, remount);
+       return err;
 }
 
 /* Read data from quotafile - avoid pagecache and such because we cannot afford