diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ufs/inode.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index 01c5f19cbabe..f2dbdf5a8769 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c | |||
@@ -41,6 +41,8 @@ | |||
41 | #include "swab.h" | 41 | #include "swab.h" |
42 | #include "util.h" | 42 | #include "util.h" |
43 | 43 | ||
44 | static u64 ufs_frag_map(struct inode *inode, sector_t frag); | ||
45 | |||
44 | static int ufs_block_to_path(struct inode *inode, sector_t i_block, sector_t offsets[4]) | 46 | static int ufs_block_to_path(struct inode *inode, sector_t i_block, sector_t offsets[4]) |
45 | { | 47 | { |
46 | struct ufs_sb_private_info *uspi = UFS_SB(inode->i_sb)->s_uspi; | 48 | struct ufs_sb_private_info *uspi = UFS_SB(inode->i_sb)->s_uspi; |
@@ -80,7 +82,7 @@ static int ufs_block_to_path(struct inode *inode, sector_t i_block, sector_t off | |||
80 | * the begining of the filesystem. | 82 | * the begining of the filesystem. |
81 | */ | 83 | */ |
82 | 84 | ||
83 | u64 ufs_frag_map(struct inode *inode, sector_t frag) | 85 | static u64 ufs_frag_map(struct inode *inode, sector_t frag) |
84 | { | 86 | { |
85 | struct ufs_inode_info *ufsi = UFS_I(inode); | 87 | struct ufs_inode_info *ufsi = UFS_I(inode); |
86 | struct super_block *sb = inode->i_sb; | 88 | struct super_block *sb = inode->i_sb; |
@@ -514,8 +516,9 @@ abort_too_big: | |||
514 | goto abort; | 516 | goto abort; |
515 | } | 517 | } |
516 | 518 | ||
517 | struct buffer_head *ufs_getfrag(struct inode *inode, unsigned int fragment, | 519 | static struct buffer_head *ufs_getfrag(struct inode *inode, |
518 | int create, int *err) | 520 | unsigned int fragment, |
521 | int create, int *err) | ||
519 | { | 522 | { |
520 | struct buffer_head dummy; | 523 | struct buffer_head dummy; |
521 | int error; | 524 | int error; |