This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / sysv / inode.c
index 2be44b7..960da9b 100644 (file)
@@ -233,12 +233,12 @@ static struct buffer_head * sysv_update_inode(struct inode * inode)
        if (!ino || ino > sbi->s_ninodes) {
                printk("Bad inode number on dev %s: %d is out of range\n",
                       inode->i_sb->s_id, ino);
-               return NULL;
+               return 0;
        }
        raw_inode = sysv_raw_inode(sb, ino, &bh);
        if (!raw_inode) {
                printk("unable to read i-node block\n");
-               return NULL;
+               return 0;
        }
 
        raw_inode->i_mode = cpu_to_fs16(sbi, inode->i_mode);