abort:
lafs_cluster_update_abort(&uh);
dir_create_abort(&doh);
+ /* This is needed because import_inode sets it to 1
+ * to avoid something silly. Needs FIXME */
+ ino->i_nlink = 0;
iput(ino);
clear_bit(B_PinPending, &db->b.flags);
putdref(db, MKREF(inode_new));
clear_bit(B_PinPending, &b->b.flags);
putdref(b, MKREF(symlink));
dir_create_abort(&doh);
+ /* This is needed because import_inode sets it to 1
+ * to avoid something silly. Needs FIXME */
+ ino->i_nlink = 0;
lafs_cluster_update_abort(&uh);
iput(ino);
return err;
abort:
dir_create_abort(&doh);
lafs_cluster_update_abort(&uh);
+ /* This is needed because import_inode sets it to 1
+ * to avoid something silly. Needs FIXME */
+ ino->i_nlink = 0;
iput(ino);
clear_bit(B_PinPending, &inodb->b.flags);
putdref(inodb, MKREF(inode_new));
abort:
dir_create_abort(&doh);
lafs_cluster_update_abort(&uh);
+ /* This is needed because import_inode sets it to 1
+ * to avoid something silly. Needs FIXME */
+ ino->i_nlink = 0;
iput(ino);
clear_bit(B_PinPending, &inodb->b.flags);
putdref(inodb, MKREF(inode_new));