diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-03-06 11:36:24 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-12-18 21:07:29 -0500 |
commit | 6628f69ee66a24602a6007ecfb9ab66390475b98 (patch) | |
tree | fac3c61110bcec58b203da437bbfd2b7f76d1e85 /fs/minix/dir.c | |
parent | ee0d27c90777da4c1da633aa7b91dbafd176c0c4 (diff) |
minixfs: Use dir_put_page() in minix_unlink() and minix_rename()
... rather than open-coding it there. Counterpart of the
corresponding fs/sysv commit from Fabio's series...
Reviewed-by: Fabio M. De Francesco <fabio.maria.de.francesco@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/minix/dir.c')
-rw-r--r-- | fs/minix/dir.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/minix/dir.c b/fs/minix/dir.c index 4e5483adea40..ccb6c47fd7fe 100644 --- a/fs/minix/dir.c +++ b/fs/minix/dir.c @@ -26,12 +26,6 @@ const struct file_operations minix_dir_operations = { .fsync = generic_file_fsync, }; -static inline void dir_put_page(struct page *page) -{ - kunmap(page); - put_page(page); -} - /* * Return the offset into page `page_nr' of the last valid * byte in that page, plus one. |