2001-10-06 20:08:14

by Anton Altaparmakov

[permalink] [raw]
Subject: [PATCH] 2.4.10-ac7 one liner cleanup

Alan,

There is a superfluous declaration of __add_page_to_hash_queue() in
include/linux/pagemap.h. There is no reference to this function anywhere
in the current source tree. Below patch removes it.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

--- cleanup-2.4.10-ac7 ---
--- linux-2.4.10-ac7-vanilla/include/linux/pagemap.h Sat Oct 6 14:30:08 2001
+++ linux-2.4.10-ac7-aia1/include/linux/pagemap.h Sat Oct 6 14:36:06 2001
@@ -81,8 +81,6 @@
#define find_lock_page(mapping, index) \
__find_lock_page(mapping, index, page_hash(mapping, index))

-extern void __add_page_to_hash_queue(struct page * page, struct page **p);
-
extern void add_to_page_cache(struct page * page, struct address_space *mapping, unsigned long index);
extern void add_to_page_cache_locked(struct page * page, struct address_space *mapping, unsigned long index);