patch-1.3.60 linux/fs/msdos/msbuffer.h

Next file: linux/fs/msdos/msdosfs_syms.c
Previous file: linux/fs/msdos/mmap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/fs/msdos/msbuffer.h linux/fs/msdos/msbuffer.h
@@ -1,34 +0,0 @@
-/* buffer.c 13/12/94 20.19.10 */
-struct buffer_head *msdos_bread (struct super_block *sb, int block);
-struct buffer_head *msdos_getblk (struct super_block *sb, int block);
-void msdos_brelse (struct super_block *sb, struct buffer_head *bh);
-void msdos_mark_buffer_dirty (struct super_block *sb,
-	 struct buffer_head *bh,
-	 int dirty_val);
-void msdos_set_uptodate (struct super_block *sb,
-	 struct buffer_head *bh,
-	 int val);
-int msdos_is_uptodate (struct super_block *sb, struct buffer_head *bh);
-void msdos_ll_rw_block (struct super_block *sb, int opr,
-	int nbreq, struct buffer_head *bh[32]);
-
-/* These macros exist to avoid modifying all the code */
-/* They should be removed one day I guess */
-
-/* The versioning mechanism of the modules system define those macros */
-/* This remove some warnings */
-#ifdef brelse
-	#undef brelse
-#endif
-#ifdef bread
-	#undef bread
-#endif
-#ifdef getblk
-	#undef getblk
-#endif
-
-#define brelse(b)				msdos_brelse(sb,b)
-#define bread(d,b,s)			msdos_bread(sb,b)
-#define getblk(d,b,s)			msdos_getblk(sb,b)
-#define mark_buffer_dirty(b,v)	msdos_mark_buffer_dirty(sb,b,v)
-

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