patch-1.3.4 linux/include/linux/fs.h
Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/fd.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jun 22 14:36:23 1995
- Orig file:
v1.3.3/linux/include/linux/fs.h
- Orig date:
Tue Jun 13 15:40:17 1995
diff -u --recursive --new-file v1.3.3/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -331,7 +331,7 @@
* This allows the kernel to read directories into kernel space or
* to have different dirent layouts depending on the binary type.
*/
-typedef int (*filldir_t)(void *, char *, int, off_t, ino_t);
+typedef int (*filldir_t)(void *, const char *, int, off_t, ino_t);
struct file_operations {
int (*lseek) (struct inode *, struct file *, off_t, int);
@@ -429,7 +429,7 @@
extern int nr_files;
extern struct super_block super_blocks[NR_SUPER];
-extern int shrink_buffers(unsigned int priority);
+extern int shrink_buffers(unsigned int priority, unsigned long limit);
extern void refile_buffer(struct buffer_head * buf);
extern void set_writetime(struct buffer_head * buf, int flag);
extern void refill_freelist(int size);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this