RE: [PATCH] DAMON dbgfs_mk_context() error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi SI,

> Nice finding, thank you!  But, the return value of the debugfs call is intentionally ignored[2].  How about doing the duplicated name check in
> dbgfs_mk_context() itself before the debugfs_create_dir() call?
>
> [2] https://lore.kernel.org/linux-mm/20210205155902.31102-1-sjpark@xxxxxxxxxx/

How about this?

Thanks,
Badari


Attachment: damon-mkcontext-fix.patch
Description: damon-mkcontext-fix.patch


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux