Re: 2.5.14 -- fs/fs.o: In function `end_buffer_read_file_async': undefinedreference to `clear_buffer_async'

From: Andrew Morton (akpm@zip.com.au)
Date: Mon May 06 2002 - 01:37:46 EST


Miles Lane wrote:
>
> fs/fs.o: In function `end_buffer_read_file_async':
> fs/fs.o(.text+0x705a4): undefined reference to `clear_buffer_async'

oops. I broke it again. This is probably a subconcious reaction
to the "NT" thing. Apologies.

--- 2.5.14/fs/ntfs/aops.c~ntfs Sun May 5 23:33:05 2002
+++ 2.5.14-akpm/fs/ntfs/aops.c Sun May 5 23:34:34 2002
@@ -76,13 +76,13 @@ static void end_buffer_read_file_async(s
                 SetPageError(page);
 
         spin_lock_irqsave(&page_uptodate_lock, flags);
- clear_buffer_async(bh);
+ clear_buffer_async_read(bh);
         unlock_buffer(bh);
 
         tmp = bh->b_this_page;
         while (tmp != bh) {
                 if (buffer_locked(tmp)) {
- if (buffer_async(tmp))
+ if (buffer_async_read(tmp))
                                 goto still_busy;
                 } else if (!buffer_uptodate(tmp))
                         SetPageError(page);
@@ -218,7 +218,7 @@ handle_zblock:
                         struct buffer_head *tbh = arr[i];
                         lock_buffer(tbh);
                         tbh->b_end_io = end_buffer_read_file_async;
- set_buffer_async(tbh);
+ set_buffer_async_read(tbh);
                 }
                 /* Finally, start i/o on the buffers. */
                 for (i = 0; i < nr; i++)
@@ -378,13 +378,13 @@ static void end_buffer_read_mftbmp_async
                 SetPageError(page);
 
         spin_lock_irqsave(&page_uptodate_lock, flags);
- clear_buffer_async(bh);
+ clear_buffer_async_read(bh);
         unlock_buffer(bh);
 
         tmp = bh->b_this_page;
         while (tmp != bh) {
                 if (buffer_locked(tmp)) {
- if (buffer_async(tmp))
+ if (buffer_async_read(tmp))
                                 goto still_busy;
                 } else if (!buffer_uptodate(tmp))
                         SetPageError(page);
@@ -501,7 +501,7 @@ handle_zblock:
                         struct buffer_head *tbh = arr[i];
                         lock_buffer(tbh);
                         tbh->b_end_io = end_buffer_read_mftbmp_async;
- set_buffer_async(tbh);
+ set_buffer_async_read(tbh);
                 }
                 /* Finally, start i/o on the buffers. */
                 for (i = 0; i < nr; i++)
@@ -574,13 +574,13 @@ static void end_buffer_read_mst_async(st
                 SetPageError(page);
 
         spin_lock_irqsave(&page_uptodate_lock, flags);
- clear_buffer_async(bh);
+ clear_buffer_async_read(bh);
         unlock_buffer(bh);
 
         tmp = bh->b_this_page;
         while (tmp != bh) {
                 if (buffer_locked(tmp)) {
- if (buffer_async(tmp))
+ if (buffer_async_read(tmp))
                                 goto still_busy;
                 } else if (!buffer_uptodate(tmp))
                         SetPageError(page);
@@ -758,7 +758,7 @@ handle_zblock:
                         struct buffer_head *tbh = arr[i];
                         lock_buffer(tbh);
                         tbh->b_end_io = end_buffer_read_mst_async;
- set_buffer_async(tbh);
+ set_buffer_async_read(tbh);
                 }
                 /* Finally, start i/o on the buffers. */
                 for (i = 0; i < nr; i++)

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:26 EST