diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-09 09:56:10 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-09 09:56:10 +1000 |
commit | da715998137091c8b82f3c33c48e5dbc4fa4a013 (patch) | |
tree | 206c816c21ac5a191b0a3f166858ba16d710bc4c /fs/reiserfs | |
parent | 1fe356d15b555c585de4baa4b2c9ea062347462e (diff) |
misc:down_nowait-fs_reiserfs_journal
down_trylock -> down_try in fs/reiserfs/journal.c
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index e396b2fa4743..9ec7d66c24a5 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c @@ -1412,7 +1412,7 @@ static int flush_journal_list(struct super_block *s, /* if flushall == 0, the lock is already held */ if (flushall) { down(&journal->j_flush_sem); - } else if (!down_trylock(&journal->j_flush_sem)) { + } else if (down_try(&journal->j_flush_sem)) { BUG(); } |