Commit 759e4d74 authored by Jan Kara's avatar Jan Kara

udf: Mark aops implementation static

Mark functions implementing aops static since they are not needed
outside of inode.c anymore.
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 37a8a39f
...@@ -204,7 +204,8 @@ static int udf_adinicb_writepage(struct page *page, ...@@ -204,7 +204,8 @@ static int udf_adinicb_writepage(struct page *page,
return 0; return 0;
} }
int udf_writepages(struct address_space *mapping, struct writeback_control *wbc) static int udf_writepages(struct address_space *mapping,
struct writeback_control *wbc)
{ {
struct inode *inode = mapping->host; struct inode *inode = mapping->host;
struct udf_inode_info *iinfo = UDF_I(inode); struct udf_inode_info *iinfo = UDF_I(inode);
...@@ -214,7 +215,7 @@ int udf_writepages(struct address_space *mapping, struct writeback_control *wbc) ...@@ -214,7 +215,7 @@ int udf_writepages(struct address_space *mapping, struct writeback_control *wbc)
return write_cache_pages(mapping, wbc, udf_adinicb_writepage, NULL); return write_cache_pages(mapping, wbc, udf_adinicb_writepage, NULL);
} }
int udf_read_folio(struct file *file, struct folio *folio) static int udf_read_folio(struct file *file, struct folio *folio)
{ {
struct udf_inode_info *iinfo = UDF_I(file_inode(file)); struct udf_inode_info *iinfo = UDF_I(file_inode(file));
...@@ -231,7 +232,7 @@ static void udf_readahead(struct readahead_control *rac) ...@@ -231,7 +232,7 @@ static void udf_readahead(struct readahead_control *rac)
mpage_readahead(rac, udf_get_block); mpage_readahead(rac, udf_get_block);
} }
int udf_write_begin(struct file *file, struct address_space *mapping, static int udf_write_begin(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, loff_t pos, unsigned len,
struct page **pagep, void **fsdata) struct page **pagep, void **fsdata)
{ {
...@@ -257,7 +258,7 @@ int udf_write_begin(struct file *file, struct address_space *mapping, ...@@ -257,7 +258,7 @@ int udf_write_begin(struct file *file, struct address_space *mapping,
return 0; return 0;
} }
int udf_write_end(struct file *file, struct address_space *mapping, static int udf_write_end(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, unsigned copied, loff_t pos, unsigned len, unsigned copied,
struct page *page, void *fsdata) struct page *page, void *fsdata)
{ {
...@@ -277,7 +278,7 @@ int udf_write_end(struct file *file, struct address_space *mapping, ...@@ -277,7 +278,7 @@ int udf_write_end(struct file *file, struct address_space *mapping,
return copied; return copied;
} }
ssize_t udf_direct_IO(struct kiocb *iocb, struct iov_iter *iter) static ssize_t udf_direct_IO(struct kiocb *iocb, struct iov_iter *iter)
{ {
struct file *file = iocb->ki_filp; struct file *file = iocb->ki_filp;
struct address_space *mapping = file->f_mapping; struct address_space *mapping = file->f_mapping;
......
...@@ -158,15 +158,6 @@ extern struct buffer_head *udf_bread(struct inode *inode, udf_pblk_t block, ...@@ -158,15 +158,6 @@ extern struct buffer_head *udf_bread(struct inode *inode, udf_pblk_t block,
extern int udf_setsize(struct inode *, loff_t); extern int udf_setsize(struct inode *, loff_t);
extern void udf_evict_inode(struct inode *); extern void udf_evict_inode(struct inode *);
extern int udf_write_inode(struct inode *, struct writeback_control *wbc); extern int udf_write_inode(struct inode *, struct writeback_control *wbc);
int udf_read_folio(struct file *file, struct folio *folio);
int udf_writepages(struct address_space *mapping, struct writeback_control *wbc);
int udf_write_begin(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len,
struct page **pagep, void **fsdata);
int udf_write_end(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, unsigned copied,
struct page *page, void *fsdata);
ssize_t udf_direct_IO(struct kiocb *iocb, struct iov_iter *iter);
extern int8_t inode_bmap(struct inode *, sector_t, struct extent_position *, extern int8_t inode_bmap(struct inode *, sector_t, struct extent_position *,
struct kernel_lb_addr *, uint32_t *, sector_t *); struct kernel_lb_addr *, uint32_t *, sector_t *);
int udf_get_block(struct inode *, sector_t, struct buffer_head *, int); int udf_get_block(struct inode *, sector_t, struct buffer_head *, int);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment