This patch applies against 2.4.9 (and probably earlier) through 2.4.13.
--- fs/autofs4/inode.c.orig Fri Feb 9 14:29:44 2001
+++ fs/autofs4/inode.c Thu Aug 23 16:01:59 2001
@@ -315,8 +315,10 @@
inode->i_nlink = 2;
inode->i_op = &autofs4_dir_inode_operations;
inode->i_fop = &autofs4_dir_operations;
- } else if (S_ISLNK(inf->mode))
+ } else if (S_ISLNK(inf->mode)) {
+ inode->i_size = inf->size;
inode->i_op = &autofs4_symlink_inode_operations;
+ }
return inode;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/