summaryrefslogtreecommitdiff
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-11-22 15:04:59 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-11-22 15:04:59 -0500
commit3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4 (patch)
tree08c813063950404356c9c64678eed72f21f217b9 /fs/ext4/file.c
parent1a0d3786dd57dbd74f340322054c3d618b999dcf (diff)
downloadlinux-3.10-3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4.tar.gz
linux-3.10-3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4.tar.bz2
linux-3.10-3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4.zip
ext4: sparse fixes
* Change EXT4_HAS_*_FEATURE to return a boolean * Add a function prototype for ext4_fiemap() in ext4.h * Make ext4_ext_fiemap_cb() and ext4_xattr_fiemap() be static functions * Add lock annotations to mb_free_blocks() Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/file.c')
-rw-r--r--fs/ext4/file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index 6bd11fba71f..f731cb545a0 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -140,9 +140,6 @@ static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
return 0;
}
-extern int ext4_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
- __u64 start, __u64 len);
-
const struct file_operations ext4_file_operations = {
.llseek = generic_file_llseek,
.read = do_sync_read,