kernel: return the value of ksu_sys_umount

* Potentially causing compilation error?

Signed-off-by: rsuntk <rsuntk@yukiprjkt.my.id>
This commit is contained in:
rsuntk
2025-08-29 18:57:48 +07:00
committed by ShirkNeko
parent 1294bbe853
commit c19b025767

View File

@@ -693,12 +693,13 @@ static int ksu_sys_umount(const char *mnt, int flags)
return ret;
}
#define ksu_umount_mnt(mnt, __unused, flags) \
({ \
path_put(__unused); \
ksu_sys_umount(mnt, flags); \
#define ksu_umount_mnt(mnt, __unused, flags) \
({ \
int ret; \
path_put(__unused); \
ret = ksu_sys_umount(mnt, flags); \
ret; \
})
#endif
static void try_umount(const char *mnt, bool check_mnt, int flags)