]> git.hungrycats.org Git - linux/commitdiff
[XFS] Remove a readahead page allocation failure warning, this will
authorChristoph Hellwig <hch@sgi.com>
Mon, 6 Sep 2004 19:35:41 +0000 (05:35 +1000)
committerChristoph Hellwig <hch@sgi.com>
Mon, 6 Sep 2004 19:35:41 +0000 (05:35 +1000)
happen under normal workloads and does not indicate a problem.

fs/xfs/linux-2.6/xfs_buf.c

index 77c1ccaf37da5fef69be9e74aea1158492fe5e52..4c0a72c305c531a8ab59dee51e88f3ef52eb40df 100644 (file)
@@ -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))