diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-06-02 03:23:07 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-02 03:23:07 -0700 |
| commit | 5a302308ef86f0030628fd9244e8495007ce9e70 (patch) | |
| tree | 2557987d684a41209395e43343ebdf87733e0ff4 /include/linux | |
| parent | ddedde1dac6640a722545a253a79e15f5e70d2c7 (diff) | |
[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
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/buffer_head.h | 1 | ||||
| -rw-r--r-- | include/linux/fs.h | 1 |
2 files changed, 1 insertions, 1 deletions
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 *); |
