diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-21 04:26:47 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-21 05:00:59 +0200 |
commit | 0e42f381193d7f9b47922f1c4308e7729a45ba13 (patch) | |
tree | b070eef0152f4d1eb60ab184900e5f4f4ebfd634 /fs/devpts | |
parent | bcachefs: Fix deadlock in journal write path (diff) | |
download | linux-0e42f381193d7f9b47922f1c4308e7729a45ba13.tar.xz linux-0e42f381193d7f9b47922f1c4308e7729a45ba13.zip |
bcachefs: Fix inode early destruction path
discard_new_inode() is the wrong interface to use when we need to free
an inode that was never inserted into the inode hash table; we can
bypass the whole iput() -> evict() path and replace it with
__destroy_inode(); kmem_cache_free() - this fixes a WARN_ON() about
I_NEW.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions