X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fjbd%2Ftransaction.c;h=0540ca27a4464060e9c230095f664cd9937b21a1;hb=59af1584bf33810639cb98d79856021253e2177c;hp=8dee32007500e3200451b9334b849f2362611cc7;hpb=ce6754235b423610e91f5300e1555c2e4ee1c03a;p=linux-2.6 diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index 8dee320075..0540ca27a4 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c @@ -291,7 +291,7 @@ handle_t *journal_start(journal_t *journal, int nblocks) goto out; } - lock_acquire(&handle->h_lockdep_map, 0, 0, 0, 2, _THIS_IP_); + lock_map_acquire(&handle->h_lockdep_map); out: return handle; @@ -1448,7 +1448,7 @@ int journal_stop(handle_t *handle) spin_unlock(&journal->j_state_lock); } - lock_release(&handle->h_lockdep_map, 1, _THIS_IP_); + lock_map_release(&handle->h_lockdep_map); jbd_free_handle(handle); return err;