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 22eb11c391
commit dd00678da1

View File

@@ -1178,10 +1178,12 @@ 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