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
vserver 1.9.3
[linux-2.6.git]
/
fs
/
sysv
/
inode.c
diff --git
a/fs/sysv/inode.c
b/fs/sysv/inode.c
index
2be44b7
..
0530077
100644
(file)
--- a/
fs/sysv/inode.c
+++ b/
fs/sysv/inode.c
@@
-260,13
+260,14
@@
static struct buffer_head * sysv_update_inode(struct inode * inode)
return bh;
}
return bh;
}
-
void
sysv_write_inode(struct inode * inode, int wait)
+
int
sysv_write_inode(struct inode * inode, int wait)
{
struct buffer_head *bh;
lock_kernel();
bh = sysv_update_inode(inode);
brelse(bh);
unlock_kernel();
{
struct buffer_head *bh;
lock_kernel();
bh = sysv_update_inode(inode);
brelse(bh);
unlock_kernel();
+ return 0;
}
int sysv_sync_inode(struct inode * inode)
}
int sysv_sync_inode(struct inode * inode)
@@
-340,7
+341,7
@@
int __init sysv_init_icache(void)
{
sysv_inode_cachep = kmem_cache_create("sysv_inode_cache",
sizeof(struct sysv_inode_info), 0,
{
sysv_inode_cachep = kmem_cache_create("sysv_inode_cache",
sizeof(struct sysv_inode_info), 0,
- SLAB_
HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT,
+ SLAB_
RECLAIM_ACCOUNT,
init_once, NULL);
if (!sysv_inode_cachep)
return -ENOMEM;
init_once, NULL);
if (!sysv_inode_cachep)
return -ENOMEM;