linux/fs/ecryptfs
NeilBrown b2f1e6301e
Remove excl arg to ->create inode_operation
The only time that 'false' is passed as the 'excl' arg to the ->create
inode_operation is in lookup_open() when ->atomic_open is not provided
by the parent directory.
*all* directory inode_operations which do not have ->atomic_open
completely ignore the 'excl' arg.

Therefore we don't need the 'excl' arg.  Those few ->create operations
which pay attention to the arg are only ever called with a value of
'true'.

We remove that arg and change all ->create operations to behave as those
thhe arg were 'true'.

Signed-off-by: NeilBrown <neil@brown.name>
Link: https://patch.msgid.link/178290671516.27465.15984496764174914338@noble.neil.brown.name
Reviewed-by: Jori Koolstra <jkoolstra@xs4all.nl>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-07-31 10:18:30 +02:00
..
crypto.c ecryptfs: use kasprintf in ecryptfs_crypto_api_algify_cipher_name 2026-06-04 14:15:08 -05:00
debug.c ecryptfs: Replace memcpy + manual NUL termination with strscpy 2026-03-25 22:39:27 -05:00
dentry.c ecryptfs: get rid of pointless mount references in ecryptfs dentries 2025-09-15 21:26:44 -04:00
ecryptfs_kernel.h eCryptfs fixes for 7.0-rc1 2026-02-20 14:46:31 -08:00
file.c treewide: change inode->i_ino from unsigned long to u64 2026-03-06 14:31:28 +01:00
inode.c Remove excl arg to ->create inode_operation 2026-07-31 10:18:30 +02:00
Kconfig ecryptfs: Use MD5 library instead of crypto_shash 2025-10-31 10:12:35 +01:00
keystore.c ecryptfs: remove redundant variable found_auth_tok 2026-05-11 09:53:14 -05:00
kthread.c ecryptfs: kthread: Demote file header and provide description for 'cred' 2021-04-19 04:42:13 +00:00
main.c ecryptfs: Set s_time_gran to get correct time granularity 2026-03-25 22:35:49 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
messaging.c ecryptfs: Use struct_size to improve process_response + send_miscdev 2026-03-25 22:39:27 -05:00
miscdev.c ecryptfs: Use struct_size to improve process_response + send_miscdev 2026-03-25 22:39:27 -05:00
mmap.c fs: change write_begin/write_end interface to take struct kiocb * 2025-07-16 14:48:18 +02:00
read_write.c ecryptfs: Convert ecryptfs_encrypt_page() to take a folio 2024-11-05 17:19:59 +01:00
super.c ecryptfs: Use MD5 library instead of crypto_shash 2025-10-31 10:12:35 +01:00