From 5a302308ef86f0030628fd9244e8495007ce9e70 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 2 Jun 2002 03:23:07 -0700 Subject: [PATCH] rename block_symlink() to page_symlink() block_symlink() is not a "block" function at all. It is a pure pagecache/address_space function. Seeing driverfs calling it was the last straw. The patch renames it to `page_symlink()' and moves it into fs/namei.c --- include/linux/buffer_head.h | 1 - include/linux/fs.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index 9bcb2b34df84..38e533d62fa9 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h @@ -192,7 +192,6 @@ void FASTCALL(unlock_buffer(struct buffer_head *bh)); */ int try_to_release_page(struct page * page, int gfp_mask); int block_flushpage(struct page *page, unsigned long offset); -int block_symlink(struct inode *, const char *, int); int block_write_full_page(struct page*, get_block_t*); int block_read_full_page(struct page*, get_block_t*); int block_prepare_write(struct page*, unsigned, unsigned, get_block_t*); diff --git a/include/linux/fs.h b/include/linux/fs.h index 1b01db32cc35..f4ae9af76b69 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1244,6 +1244,7 @@ extern int vfs_readlink(struct dentry *, char *, int, const char *); extern int vfs_follow_link(struct nameidata *, const char *); extern int page_readlink(struct dentry *, char *, int); extern int page_follow_link(struct dentry *, struct nameidata *); +extern int page_symlink(struct inode *inode, const char *symname, int len); extern struct inode_operations page_symlink_inode_operations; extern void generic_fillattr(struct inode *, struct kstat *); -- cgit v1.2.3