mm: rename page trylock
[deliverable/linux.git] / fs / reiserfs / journal.c
index c8f60ee183b5b53d4799116e776f990ba6bf2d93..ce2208b27118e23f9b7d525905bc2c641fc749b8 100644 (file)
@@ -627,7 +627,7 @@ static int journal_list_still_alive(struct super_block *s,
 static void release_buffer_page(struct buffer_head *bh)
 {
        struct page *page = bh->b_page;
-       if (!page->mapping && !TestSetPageLocked(page)) {
+       if (!page->mapping && trylock_page(page)) {
                page_cache_get(page);
                put_bh(bh);
                if (!page->mapping)
This page took 0.024892 seconds and 5 git commands to generate.