Re: [PATCH] eventfs: Directly return NULL to avoid null point dereferenced

2024-05-12 Thread Hao Ge
Hi Markus Thanks for your review. 在 5/13/24 01:12, Markus Elfring 写道: When the condition ei->is_free holds,we return NULL directly to avoid update_events_attr to use NULL point about ei. * Please avoid typos in the summary phrase and the commit message. * Would you like to use an imperative

Re: [PATCH] eventfs: Directly return NULL to avoid null point dereferenced

2024-05-12 Thread Markus Elfring
> When the condition ei->is_free holds,we return NULL directly to > avoid update_events_attr to use NULL point about ei. * Please avoid typos in the summary phrase and the commit message. * Would you like to use an imperative wording for an improved change description? https://git.kernel.org/

[PATCH] eventfs: Directly return NULL to avoid null point dereferenced

2024-05-10 Thread hao . ge
From: Hao Ge When the condition ei->is_free holds,we return NULL directly to avoid update_events_attr to use NULL point about ei. Fixes: 8186fff7ab64 ("tracefs/eventfs: Use root and instance inodes as default ownership") Signed-off-by: Hao Ge --- fs/tracefs/event_inode.c | 3 +-- 1 file chang