summaryrefslogtreecommitdiff
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-23 10:30:10 +0300
committerTheodore Ts'o <tytso@mit.edu>2020-06-04 06:16:54 +0300
commit44ebcd06bbb3ab3ee446b933800aca32fc4ca9b1 (patch)
treed9f0bdeb43620a50c586802d1ec52d58b05a783d /fs/ioctl.c
parentda565e792be540a5726af7f8cd50b282af0358b7 (diff)
downloadlinux-44ebcd06bbb3ab3ee446b933800aca32fc4ca9b1.tar.xz
fs: mark __generic_block_fiemap static
There is no caller left outside of ioctl.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Link: https://lore.kernel.org/r/20200523073016.2944131-4-hch@lst.de Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ioctl.c')
-rw-r--r--fs/ioctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ioctl.c b/fs/ioctl.c
index 5e80b40bc1b5..8fe5131b1dee 100644
--- a/fs/ioctl.c
+++ b/fs/ioctl.c
@@ -307,8 +307,7 @@ static inline loff_t blk_to_logical(struct inode *inode, sector_t blk)
* If you use this function directly, you need to do your own locking. Use
* generic_block_fiemap if you want the locking done for you.
*/
-
-int __generic_block_fiemap(struct inode *inode,
+static int __generic_block_fiemap(struct inode *inode,
struct fiemap_extent_info *fieinfo, loff_t start,
loff_t len, get_block_t *get_block)
{
@@ -453,7 +452,6 @@ int __generic_block_fiemap(struct inode *inode,
return ret;
}
-EXPORT_SYMBOL(__generic_block_fiemap);
/**
* generic_block_fiemap - FIEMAP for block based inodes