Whamcloud - gitweb
LU-17602 mdd: use correct fid in mdd_rename
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 4 Mar 2024 04:32:04 +0000 (07:32 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 16 Mar 2024 08:15:39 +0000 (08:15 +0000)
commit45359515cc94834c8ff88dfff1629dfd079d5350
treede808c65e86e048dab4438c898913f04661a08e1
parenta00f6fc3e6040f966a9e7f753ff72262792f5d08
LU-17602 mdd: use correct fid in mdd_rename

mdd_rename() can re-insert target name back as a part of error
handling. use correct fid for that, not own target directory fid.

Lustre-change: https://review.whamcloud.com/54260
Lustre-commit: TBD (from 61a389ea659ce62790219b0d6edf72730284b007)

Fixes: 1c03346731 ("LU-17016 mdd: no EXDEV for parent dir projid mismatch")
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I0662fa005459416b070157a2d049fcf5ed08ae91
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54344
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/mdd/mdd_dir.c