Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143663
b: refs/heads/master
c: d43f361
h: refs/heads/master
i:
  143661: 81818d1
  143659: 089c169
  143655: c3f5ca9
  143647: 784ebd3
v: v3
  • Loading branch information
Evgeniy Polyakov authored and Greg Kroah-Hartman committed Apr 17, 2009
1 parent bd8a66e commit 3b567b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0ca87391694dfacd01465d5c01c579c3b8b63e0
refs/heads/master: d43f3612818b13f44e12bfc2ad75b4b46628b3da
3 changes: 2 additions & 1 deletion trunk/drivers/staging/pohmelfs/lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ static int pohmelfs_send_lock_trans(struct pohmelfs_inode *pi,
path_len = err;

err = -ENOMEM;
t = netfs_trans_alloc(psb, path_len + sizeof(struct netfs_lock) + isize, 0, 0);
t = netfs_trans_alloc(psb, path_len + sizeof(struct netfs_lock) + isize,
NETFS_TRANS_SINGLE_DST, 0);
if (!t)
goto err_out_exit;

Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/staging/pohmelfs/trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,9 @@ int netfs_trans_finish_send(struct netfs_trans *t, struct pohmelfs_sb *psb)
continue;
}

if (psb->active_state && (psb->active_state->state.ctl.prio >= st->ctl.prio))
st = &psb->active_state->state;

err = netfs_trans_push(t, st);
if (!err && (t->flags & NETFS_TRANS_SINGLE_DST))
break;
Expand Down

0 comments on commit 3b567b9

Please sign in to comment.