Commit fea24af5 authored by Nathan Scott's avatar Nathan Scott

[XFS] Fix up write_inode return type to use the right signedness.

SGI Modid: xfs-linux:xfs-kern:19632a
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 825d5976
......@@ -339,16 +339,16 @@ linvfs_write_inode(
int sync)
{
vnode_t *vp = LINVFS_GET_VP(inode);
int error, flags = FLUSH_INODE;
int error = 0, flags = FLUSH_INODE;
error = 0;
if (vp) {
vn_trace_entry(vp, __FUNCTION__, (inst_t *)__return_address);
if (sync)
flags |= FLUSH_SYNC;
VOP_IFLUSH(vp, flags, error);
}
return error;
return -error;
}
STATIC void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment