summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V2008-11-22 21:04:59 +0100
committerTheodore Ts'o2008-11-22 21:04:59 +0100
commit3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4 (patch)
tree08c813063950404356c9c64678eed72f21f217b9 /fs/ext4/inode.c
parentjbd2: Remove a large array of bh's from the stack of the checkpoint routine (diff)
downloadkernel-qcow2-linux-3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4.tar.gz
kernel-qcow2-linux-3a06d778dfeda7eaeeb79bfa49cf97f2aae132b4.tar.xz
kernel-qcow2-linux-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/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 91e06f88f08c..bcd5ffa76c0b 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3907,7 +3907,7 @@ static int __ext4_get_inode_loc(struct inode *inode,
ext4_fsblk_t block;
int inodes_per_block, inode_offset;
- iloc->bh = 0;
+ iloc->bh = NULL;
if (!ext4_valid_inum(sb, inode->i_ino))
return -EIO;