summaryrefslogtreecommitdiff
path: root/fs/minix/minix.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-12-14 12:57:27 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2023-01-11 15:30:08 -0500
commit4a29a1262a47acd8e81a3824492a5aa8f8c5fc95 (patch)
tree74cd22d71095d17289e06d184a5d57d984e9df1e /fs/minix/minix.h
parentb7bfaa761d760e72a969d116517eaa12e404c262 (diff)
minix: make minix_new_inode() return error as ERR_PTR(-E...)
adjust the callers Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/minix/minix.h')
-rw-r--r--fs/minix/minix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/minix.h b/fs/minix/minix.h
index 202173368025..7158a68bdc63 100644
--- a/fs/minix/minix.h
+++ b/fs/minix/minix.h
@@ -45,7 +45,7 @@ struct minix_sb_info {
extern struct inode *minix_iget(struct super_block *, unsigned long);
extern struct minix_inode * minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **);
extern struct minix2_inode * minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **);
-extern struct inode * minix_new_inode(const struct inode *, umode_t, int *);
+extern struct inode * minix_new_inode(const struct inode *, umode_t);
extern void minix_free_inode(struct inode * inode);
extern unsigned long minix_count_free_inodes(struct super_block *sb);
extern int minix_new_block(struct inode * inode);