Thread (43 messages) 43 messages, 4 authors, 2024-01-31

Re: [PATCH 5/6] eventfs: get rid of dentry pointers without refcounts

From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2024-01-31 00:48:10
Also in: lkml

On Tue, Jan 30, 2024 at 11:03:54AM -0800, Linus Torvalds wrote:
 	inode = tracefs_get_inode(dentry->d_sb);
 	if (unlikely(!inode))
-		return eventfs_failed_creating(dentry);
+		return ERR_PTR(-ENOMEM);
That belongs in the lookup crapectomy patch - bisect hazard from stray dput().
Same for similar chunks below.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help