/* * Symlink inode operations for Coda filesystem * Original version: (C) 1996 P. Braam and M. Callahan * Rewritten for Linux 2.1. (C) 1997 Carnegie Mellon University * * Carnegie Mellon encourages users to contribute improvements to * the Coda project. Contact Peter Braam (coda@cs.cmu.edu). */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/time.h> #include <linux/fs.h> #include <linux/stat.h> #include <linux/errno.h> #include <linux/pagemap.h> #include <linux/coda.h> #include <linux/coda_psdev.h> #include "coda_linux.h"
static int coda_symlink_filler(struct file *file, struct page *page) { struct inode *inode = page->mapping->host; int error; struct coda_inode_info *cii; unsigned int len = PAGE_SIZE; char *p = page_address(page); cii = ITOC(inode); error = venus_readlink(inode->i_sb, &cii->c_fid, p, &len); if (error) goto fail; SetPageUptodate(page); unlock_page(page); return 0; fail: SetPageError(page); unlock_page(page); return error; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 105 | 94.59% | 7 | 70.00% |
Linus Torvalds | 3 | 2.70% | 1 | 10.00% |
Andrew Morton | 2 | 1.80% | 1 | 10.00% |
Al Viro | 1 | 0.90% | 1 | 10.00% |
Total | 111 | 100.00% | 10 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 141 | 91.56% | 8 | 50.00% |
Linus Torvalds | 3 | 1.95% | 1 | 6.25% |
Jan Harkes | 3 | 1.95% | 1 | 6.25% |
Al Viro | 2 | 1.30% | 2 | 12.50% |
Christoph Hellwig | 2 | 1.30% | 2 | 12.50% |
Andrew Morton | 2 | 1.30% | 1 | 6.25% |
Dave Jones | 1 | 0.65% | 1 | 6.25% |
Total | 154 | 100.00% | 16 | 100.00% |