mirror-linux/include
Paulo Alcantara 15e9e00a5a vfs: get rid of BUG_ON() in d_mark_tmpfile_name()
Do proper error handling in d_mark_tmpfile_name() by returning errors
rather than using BUG_ON()'s.

Adjust caller to check for errors from d_mark_tmpfile_name() as well
as clean it up for using return value from scnprintf() in QSTR_LEN()
to make it more obvious where the tmpfile name's length is coming
from.

Link: https://lore.kernel.org/r/CAHk-=wgerpUKCDhdzKH0FEdLyfhj3doc9t+kO9Yb6rSsTp7hdQ@mail.gmail.com
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
CC: linux-fsdevel@vger.kernel.org
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
2026-04-14 12:01:12 -05:00
..
acpi
asm-generic vfs-7.1-rc1.misc 2026-04-13 14:20:11 -07:00
clocksource
crypto for-7.1/block-20260411 2026-04-13 15:51:31 -07:00
cxl
drm
dt-bindings reset: spacemit: k3: Decouple composite reset lines 2026-03-23 12:25:47 +01:00
hyperv mshv: Fix infinite fault loop on permission-denied GPA intercepts 2026-04-04 05:25:53 +00:00
keys
kunit
kvm
linux vfs: get rid of BUG_ON() in d_mark_tmpfile_name() 2026-04-14 12:01:12 -05:00
math-emu
media
memory
misc
net vfs-7.1-rc1.kino 2026-04-13 12:19:01 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound ASoC: SDCA: Unregister IRQ handlers on module remove 2026-04-08 16:55:30 +01:00
target
trace Changes since last update: 2026-04-13 16:59:19 -07:00
uapi for-7.1-tag 2026-04-13 16:35:32 -07:00
ufs
vdso
video
xen
Kbuild