afs/fs/afs mntpt.c,1.11,1.12

dwh at infradead.org dwh at infradead.org
Mon Jan 19 10:03:42 GMT 2004


Update of /home/cvs/afs/fs/afs
In directory phoenix.infradead.org:/tmp/cvs-serv28423/fs/afs

Modified Files:
	mntpt.c 
Log Message:
declare variables before code lines in functions


Index: mntpt.c
===================================================================
RCS file: /home/cvs/afs/fs/afs/mntpt.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mntpt.c	10 Sep 2003 13:32:37 -0000	1.11
+++ mntpt.c	19 Jan 2004 10:03:40 -0000	1.12
@@ -70,6 +70,7 @@
 int afs_mntpt_check_symlink(struct afs_vnode *vnode)
 {
 	struct page *page;
+	filler_t *filler;
 	size_t size;
 	char *buf;
 	int ret;
@@ -77,8 +78,7 @@
 	_enter("{%u,%u}", vnode->fid.vnode, vnode->fid.unique);
 
 	/* read the contents of the symlink into the pagecache */
-	filler_t *filler =
-		(filler_t *) AFS_VNODE_TO_I(vnode)->i_mapping->a_ops->readpage;
+	filler = (filler_t *) AFS_VNODE_TO_I(vnode)->i_mapping->a_ops->readpage;
 
 	page = read_cache_page(AFS_VNODE_TO_I(vnode)->i_mapping, 0,
 			       filler, NULL);




More information about the linux-afs-cvs mailing list