goto out;
}
- /* update odf and remove any wh before interpose*/
+ /* update odf and remove any wh before interpose */
err = odf_lookup(dentry->d_parent, dentry,
ODF_LOOKUP_FILE|ODF_LOOKUP_RMV_WH);
if (!err)
return err;
}
-/* Links two entries in the odf */
+/* Links two entries in the odf */
int odf_link(struct dentry *old_dentry, struct dentry *new_dentry)
{
struct dentry *old_dir, *new_dir;
/* get the odf ino first */
link_file->f_pos = 0;
- /* write destination branch id*/
+ /* write destination branch id */
le32 = cpu_to_le32(branch_id(sb, new_branch));
err = link_file->f_op->write(link_file, (char*)&le32,
sizeof(__le32), &link_file->f_pos);
unsigned char uuid[UUID_LEN];
__le32 le32;
- options = kzalloc(ODF_OPTIONS_LEN, GFP_KERNEL); /*XXX*/
+ options = kzalloc(ODF_OPTIONS_LEN, GFP_KERNEL); /* XXX */
branch_entry = kzalloc(ODF_BRANCH_PATH, GFP_KERNEL);
if (!options || !branch_entry) {
err = -ENOMEM;
goto out_close;
}
- /* permissions*/
+ /* permissions */
err = file->f_op->read(file, (char*)&le32, sizeof(__le32),
&file->f_pos);
if (err != sizeof(__le32)) {
}
perms = le32_to_cpu(le32);
- /* branch UUID*/
+ /* branch UUID */
err = file->f_op->read(file, (char*)uuid, UUID_LEN,
&file->f_pos);
if (err != UUID_LEN) {