linux/fs/f2fs
Al Viro 1da91ea87a introduce fd_file(), convert all accessors to it.
For any changes of struct fd representation we need to
turn existing accesses to fields into calls of wrappers.
Accesses to struct fd::flags are very few (3 in linux/file.h,
1 in net/socket.c, 3 in fs/overlayfs/file.c and 3 more in
explicit initializers).
	Those can be dealt with in the commit converting to
new layout; accesses to struct fd::file are too many for that.
	This commit converts (almost) all of f.file to
fd_file(f).  It's not entirely mechanical ('file' is used as
a member name more than just in struct fd) and it does not
even attempt to distinguish the uses in pointer context from
those in boolean context; the latter will be eventually turned
into a separate helper (fd_empty()).

	NOTE: mass conversion to fd_empty(), tempting as it
might be, is a bad idea; better do that piecewise in commit
that convert from fdget...() to CLASS(...).

[conflicts in fs/fhandle.c, kernel/bpf/syscall.c, mm/memcontrol.c
caught by git; fs/stat.c one got caught by git grep]
[fs/xattr.c conflict]

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2024-08-12 22:00:43 -04:00
..
acl.c f2fs: Use in_group_or_capable() helper 2024-06-25 11:15:48 +02:00
acl.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
checkpoint.c f2fs: fix to update user block counts in block_operations() 2024-07-10 22:47:57 +00:00
compress.c f2fs: clean up set REQ_RAHEAD given rac 2024-06-18 02:31:48 +00:00
data.c f2fs: use meta inode for GC of COW file 2024-07-10 22:48:20 +00:00
debug.c f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanup 2024-03-04 10:18:26 -08:00
dir.c f2fs: Reuse generic_ci_match for ci comparisons 2024-06-07 17:00:44 +02:00
extent_cache.c f2fs: fix to cover read extent cache access with lock 2024-06-12 15:46:03 +00:00
f2fs.h f2fs update for 6.11-rc1 2024-07-23 15:21:19 -07:00
file.c introduce fd_file(), convert all accessors to it. 2024-08-12 22:00:43 -04:00
gc.c f2fs: use meta inode for GC of COW file 2024-07-10 22:48:20 +00:00
gc.h f2fs: fix to limit gc_pin_file_threshold 2024-05-09 01:03:44 +00:00
hash.c f2fs: don't use casefolded comparison for "." and ".." 2022-05-17 11:19:23 -07:00
inline.c f2fs: use meta inode for GC of COW file 2024-07-10 22:48:20 +00:00
inode.c f2fs: clean up F2FS_I() 2024-07-10 23:13:15 +00:00
iostat.c f2fs: add async reset zone command support 2023-06-12 13:04:09 -07:00
iostat.h f2fs: use iostat_lat_type directly as a parameter in the iostat_update_and_unbind_ctx() 2023-02-07 10:39:28 -08:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile f2fs: separate out iostat feature 2021-08-23 10:25:51 -07:00
namei.c f2fs update for 6.11-rc1 2024-07-23 15:21:19 -07:00
node.c f2fs: fix to release node block count in error path of f2fs_new_node_page() 2024-05-10 03:38:28 +00:00
node.h f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC 2024-02-27 09:41:12 -08:00
recovery.c f2fs update for 6.11-rc1 2024-07-23 15:21:19 -07:00
segment.c f2fs: use meta inode for GC of atomic file 2024-07-10 22:48:04 +00:00
segment.h f2fs: fix start segno of large section 2024-07-09 19:33:50 +00:00
shrinker.c f2fs: add block_age-based extent cache 2022-12-12 14:53:56 -08:00
super.c f2fs update for 6.11-rc1 2024-07-23 15:21:19 -07:00
sysfs.c f2fs: use new ioprio Macro to get ckpt thread ioprio level 2024-06-12 15:46:03 +00:00
verity.c f2fs: Use folio in f2fs_read_merkle_tree_page 2024-02-27 09:41:15 -08:00
xattr.c f2fs: fix to check return value of f2fs_recover_xattr_data 2023-12-15 15:09:17 -08:00
xattr.h f2fs: move f2fs_xattr_handlers and f2fs_xattr_handler_map to .rodata 2023-10-09 16:24:18 +02:00