From 25fcf560709d70af0c489b51f5d61066c28a784f Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 7 Sep 2004 05:35:41 +1000 Subject: [PATCH] [XFS] Remove a readahead page allocation failure warning, this will happen under normal workloads and does not indicate a problem. --- fs/xfs/linux-2.6/xfs_buf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index 77c1ccaf37da5..4c0a72c305c53 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c @@ -626,11 +626,8 @@ pagebuf_get( /* allocate a buffer */ pb = _pagebuf_find(target, ioff, isize, flags, new_pb); if (pb == new_pb) { error = _pagebuf_lookup_pages(pb, flags); - if (unlikely(error)) { - printk(KERN_WARNING - "pagebuf_get: failed to lookup pages\n"); + if (error) goto no_buffer; - } } else { pagebuf_deallocate(new_pb); if (unlikely(pb == NULL)) -- 2.53.0