git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
sysv
/
inode.c
diff --git
a/fs/sysv/inode.c
b/fs/sysv/inode.c
index
2be44b7
..
960da9b
100644
(file)
--- a/
fs/sysv/inode.c
+++ b/
fs/sysv/inode.c
@@
-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);
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");
}
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);
}
raw_inode->i_mode = cpu_to_fs16(sbi, inode->i_mode);