diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-03-31 14:42:11 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-05-09 12:41:23 +0200 |
| commit | 33445d6fc5206ef7fad185704bf241a9e9c3b2b9 (patch) | |
| tree | 6caaba31aeb19034763e8a9c99d341acae59960f /fs/internal.h | |
| parent | 6e5af8e3ca5f397c8c90c12613863a664e38b158 (diff) | |
libfs: export find_next_child()
Export find_next_child() so it can be used by efivarfs.
Keep it internal for now. There's no reason to advertise this
kernel-wide.
Link: https://lore.kernel.org/r/20250331-work-freeze-v1-1-6dfbe8253b9f@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/internal.h')
| -rw-r--r-- | fs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index b9b3e29a73fd..b9949707a152 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -343,3 +343,4 @@ static inline bool path_mounted(const struct path *path) void file_f_owner_release(struct file *file); bool file_seek_cur_needs_f_lock(struct file *file); int statmount_mnt_idmap(struct mnt_idmap *idmap, struct seq_file *seq, bool uid_map); +struct dentry *find_next_child(struct dentry *parent, struct dentry *prev); |