if (new_size == 0) {
ea_release(inode, ea_buf);
- ea_buf = NULL;
+ ea_buf = 0;
} else if (ea_buf->flag & EA_INLINE) {
assert(new_size <= sizeof (ji->i_inline_ea));
ji->mode2 &= ~INLINEEA;
}
ji->ea = ea_buf->new_ea;
} else {
- txEA(tid, inode, &ji->ea, NULL);
+ txEA(tid, inode, &ji->ea, 0);
if (ji->ea.flag & DXD_INLINE)
ji->mode2 |= INLINEEA;
ji->ea.flag = 0;
int jfs_removexattr(struct dentry *dentry, const char *name)
{
- return __jfs_setxattr(dentry->d_inode, name, NULL, 0, XATTR_REPLACE);
+ return __jfs_setxattr(dentry->d_inode, name, 0, 0, XATTR_REPLACE);
}