Whamcloud - gitweb
LU-15268 mdt: reveal the real intent close error code 36/45636/4
authorBobi Jam <bobijam@whamcloud.com>
Wed, 1 Dec 2021 12:05:49 +0000 (20:05 +0800)
committerBobi Jam <bobijam@whamcloud.com>
Thu, 13 Jan 2022 09:00:05 +0000 (17:00 +0800)
commitdc6dee1f5683ac91d637533b4c220617f62e60d2
tree284df65cc147e9fccaa15f17b91ca6bb06d5a797
parent46ff76137160b66f1d4437b3443859027faae9c4
LU-15268 mdt: reveal the real intent close error code

mdt_mfd_close() clobbers the intent close error so that user space
tool only knows that the close intent hasn't finished and reports
-EBUSY instead of the real error code.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I72f474a73e8b73cdc35ca38eaaec5af182f63ca7
lustre/mdt/mdt_open.c
lustre/tests/sanity-flr.sh