diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-12-13 20:53:47 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-05-29 11:03:31 +0200 |
commit | b8b9e8b35d3856499c0b2e8188885257828b7fa5 (patch) | |
tree | c027217ccb0aa24b6e60478e97b5800ee0bbd824 /fs/ext2/ext2.h | |
parent | dae42837ba6dd441e4a569996d5f62986ffe01ed (diff) | |
download | linux-stable-b8b9e8b35d3856499c0b2e8188885257828b7fa5.tar.gz linux-stable-b8b9e8b35d3856499c0b2e8188885257828b7fa5.tar.bz2 linux-stable-b8b9e8b35d3856499c0b2e8188885257828b7fa5.zip |
ext2_find_entry()/ext2_dotdot(): callers don't need page_addr anymore
... and that's how it should've been done in the first place
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Tested-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/ext2.h')
-rw-r--r-- | fs/ext2/ext2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/ext2.h b/fs/ext2/ext2.h index 391edf57b944..5e82ec0847cf 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h @@ -730,10 +730,10 @@ extern int ext2_inode_by_name(struct inode *dir, const struct qstr *child, ino_t *ino); extern int ext2_make_empty(struct inode *, struct inode *); extern struct ext2_dir_entry_2 *ext2_find_entry(struct inode *, const struct qstr *, - struct page **, void **res_page_addr); + struct page **); extern int ext2_delete_entry(struct ext2_dir_entry_2 *dir, struct page *page); extern int ext2_empty_dir (struct inode *); -extern struct ext2_dir_entry_2 *ext2_dotdot(struct inode *dir, struct page **p, void **pa); +extern struct ext2_dir_entry_2 *ext2_dotdot(struct inode *dir, struct page **p); int ext2_set_link(struct inode *dir, struct ext2_dir_entry_2 *de, struct page *page, struct inode *inode, bool update_times); static inline void ext2_put_page(struct page *page, void *page_addr) |