f2fs: fix to correct check conditions in f2fs_cross_rename

[ Upstream commit 9883494c45 ]

Should be "old_dir" here.

Fixes: 5c57132eaf ("f2fs: support project quota")
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Zhiguo Niu 2025-05-14 16:45:49 +08:00 • committed by Greg Kroah-Hartman
commit 0befc3005d