diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2008-11-22 15:04:59 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-11-22 15:04:59 -0500 |
commit | 3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4 (patch) | |
tree | 08c813063950404356c9c64678eed72f21f217b9 /fs/ext4/inode.c | |
parent | 1a0d3786dd57dbd74f340322054c3d618b999dcf (diff) |
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/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 91e06f88f08..bcd5ffa76c0 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -3907,7 +3907,7 @@ static int __ext4_get_inode_loc(struct inode *inode, | |||
3907 | ext4_fsblk_t block; | 3907 | ext4_fsblk_t block; |
3908 | int inodes_per_block, inode_offset; | 3908 | int inodes_per_block, inode_offset; |
3909 | 3909 | ||
3910 | iloc->bh = 0; | 3910 | iloc->bh = NULL; |
3911 | if (!ext4_valid_inum(sb, inode->i_ino)) | 3911 | if (!ext4_valid_inum(sb, inode->i_ino)) |
3912 | return -EIO; | 3912 | return -EIO; |
3913 | 3913 | ||