Diff for /xfs-linux/xfs_attr.c between versions 1.141 and 1.142

version 1.141, 2006/12/21 02:50:36 version 1.142, 2007/02/06 14:35:53
Line 349  xfs_attr_set_int(xfs_inode_t *dp, const  Line 349  xfs_attr_set_int(xfs_inode_t *dp, const 
                 error = xfs_attr_shortform_to_leaf(&args);                  error = xfs_attr_shortform_to_leaf(&args);
                 if (!error) {                  if (!error) {
                         error = xfs_bmap_finish(&args.trans, args.flist,                          error = xfs_bmap_finish(&args.trans, args.flist,
                                                 *args.firstblock, &committed);                                                  &committed);
                 }                  }
                 if (error) {                  if (error) {
                         ASSERT(committed);                          ASSERT(committed);
Line 976  xfs_attr_leaf_addname(xfs_da_args_t *arg Line 976  xfs_attr_leaf_addname(xfs_da_args_t *arg
                 error = xfs_attr_leaf_to_node(args);                  error = xfs_attr_leaf_to_node(args);
                 if (!error) {                  if (!error) {
                         error = xfs_bmap_finish(&args->trans, args->flist,                          error = xfs_bmap_finish(&args->trans, args->flist,
                                                 *args->firstblock, &committed);                                                  &committed);
                 }                  }
                 if (error) {                  if (error) {
                         ASSERT(committed);                          ASSERT(committed);
Line 1077  xfs_attr_leaf_addname(xfs_da_args_t *arg Line 1077  xfs_attr_leaf_addname(xfs_da_args_t *arg
                         if (!error) {                          if (!error) {
                                 error = xfs_bmap_finish(&args->trans,                                  error = xfs_bmap_finish(&args->trans,
                                                         args->flist,                                                          args->flist,
                                                         *args->firstblock,  
                                                         &committed);                                                          &committed);
                         }                          }
                         if (error) {                          if (error) {
Line 1155  xfs_attr_leaf_removename(xfs_da_args_t * Line 1154  xfs_attr_leaf_removename(xfs_da_args_t *
                 /* bp is gone due to xfs_da_shrink_inode */                  /* bp is gone due to xfs_da_shrink_inode */
                 if (!error) {                  if (!error) {
                         error = xfs_bmap_finish(&args->trans, args->flist,                          error = xfs_bmap_finish(&args->trans, args->flist,
                                                 *args->firstblock, &committed);                                                  &committed);
                 }                  }
                 if (error) {                  if (error) {
                         ASSERT(committed);                          ASSERT(committed);
Line 1310  restart: Line 1309  restart:
                         if (!error) {                          if (!error) {
                                 error = xfs_bmap_finish(&args->trans,                                  error = xfs_bmap_finish(&args->trans,
                                                         args->flist,                                                          args->flist,
                                                         *args->firstblock,  
                                                         &committed);                                                          &committed);
                         }                          }
                         if (error) {                          if (error) {
Line 1350  restart: Line 1348  restart:
                 error = xfs_da_split(state);                  error = xfs_da_split(state);
                 if (!error) {                  if (!error) {
                         error = xfs_bmap_finish(&args->trans, args->flist,                          error = xfs_bmap_finish(&args->trans, args->flist,
                                                 *args->firstblock, &committed);                                                  &committed);
                 }                  }
                 if (error) {                  if (error) {
                         ASSERT(committed);                          ASSERT(committed);
Line 1462  restart: Line 1460  restart:
                         if (!error) {                          if (!error) {
                                 error = xfs_bmap_finish(&args->trans,                                  error = xfs_bmap_finish(&args->trans,
                                                         args->flist,                                                          args->flist,
                                                         *args->firstblock,  
                                                         &committed);                                                          &committed);
                         }                          }
                         if (error) {                          if (error) {
Line 1597  xfs_attr_node_removename(xfs_da_args_t * Line 1594  xfs_attr_node_removename(xfs_da_args_t *
                 error = xfs_da_join(state);                  error = xfs_da_join(state);
                 if (!error) {                  if (!error) {
                         error = xfs_bmap_finish(&args->trans, args->flist,                          error = xfs_bmap_finish(&args->trans, args->flist,
                                                 *args->firstblock, &committed);                                                  &committed);
                 }                  }
                 if (error) {                  if (error) {
                         ASSERT(committed);                          ASSERT(committed);
Line 1649  xfs_attr_node_removename(xfs_da_args_t * Line 1646  xfs_attr_node_removename(xfs_da_args_t *
                         if (!error) {                          if (!error) {
                                 error = xfs_bmap_finish(&args->trans,                                  error = xfs_bmap_finish(&args->trans,
                                                         args->flist,                                                          args->flist,
                                                         *args->firstblock,  
                                                         &committed);                                                          &committed);
                         }                          }
                         if (error) {                          if (error) {
Line 2093  xfs_attr_rmtval_set(xfs_da_args_t *args) Line 2089  xfs_attr_rmtval_set(xfs_da_args_t *args)
                                   args->flist, NULL);                                    args->flist, NULL);
                 if (!error) {                  if (!error) {
                         error = xfs_bmap_finish(&args->trans, args->flist,                          error = xfs_bmap_finish(&args->trans, args->flist,
                                                 *args->firstblock, &committed);                                                  &committed);
                 }                  }
                 if (error) {                  if (error) {
                         ASSERT(committed);                          ASSERT(committed);
Line 2249  xfs_attr_rmtval_remove(xfs_da_args_t *ar Line 2245  xfs_attr_rmtval_remove(xfs_da_args_t *ar
                                     NULL, &done);                                      NULL, &done);
                 if (!error) {                  if (!error) {
                         error = xfs_bmap_finish(&args->trans, args->flist,                          error = xfs_bmap_finish(&args->trans, args->flist,
                                                 *args->firstblock, &committed);                                                  &committed);
                 }                  }
                 if (error) {                  if (error) {
                         ASSERT(committed);                          ASSERT(committed);

Removed from v.1.141  
changed lines
  Added in v.1.142


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>