Files
linux-stable-mirror/include/linux
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
..
2026-02-11 13:44:47 +01:00
2026-03-11 23:14:02 +01:00
2026-04-03 16:53:50 -04:00
2026-04-07 08:22:24 -06:00
2026-04-04 08:10:37 -06:00
2026-03-02 17:08:05 -05:00
2026-02-19 09:12:05 +01:00
2026-03-26 15:03:30 +01:00
2026-04-01 10:19:41 +02:00
2026-04-03 16:53:50 -04:00
2026-04-03 16:53:50 -04:00
2026-02-20 17:31:55 -05:00
2026-03-27 07:35:05 -07:00
2026-02-10 11:39:31 +01:00
2026-02-10 11:39:30 +01:00
2026-03-31 07:04:00 -06:00
2026-03-23 12:41:58 +01:00
2026-04-13 08:39:51 -07:00