patch-1.3.60 linux/fs/umsdos/file.c
Next file: linux/fs/umsdos/inode.c
Previous file: linux/fs/umsdos/emd.c
Back to the patch index
Back to the overall index
- Lines: 49
- Date:
Wed Feb 7 09:39:29 1996
- Orig file:
v1.3.59/linux/fs/umsdos/file.c
- Orig date:
Thu Jan 4 21:54:58 1996
diff -u --recursive --new-file v1.3.59/linux/fs/umsdos/file.c linux/fs/umsdos/file.c
@@ -31,7 +31,7 @@
int count)
{
/* We have to set the access time because msdos don't care */
- int ret = msdos_file_read(inode,filp,buf,count);
+ int ret = fat_file_read(inode,filp,buf,count);
if (!IS_RDONLY(inode)){
inode->i_atime = CURRENT_TIME;
inode->i_dirt = 1;
@@ -47,7 +47,7 @@
const char *buf,
int count)
{
- return msdos_file_write(inode,filp,buf,count);
+ return fat_file_write(inode,filp,buf,count);
}
/*
Truncate a file to 0 length.
@@ -55,7 +55,7 @@
static void UMSDOS_truncate(struct inode *inode)
{
PRINTK (("UMSDOS_truncate\n"));
- msdos_truncate (inode);
+ fat_truncate (inode);
inode->i_ctime = inode->i_mtime = CURRENT_TIME;
inode->i_dirt = 1;
}
@@ -89,10 +89,10 @@
NULL, /* follow_link */
generic_readpage, /* readpage */
NULL, /* writepage */
- msdos_bmap, /* bmap */
+ fat_bmap, /* bmap */
UMSDOS_truncate,/* truncate */
NULL, /* permission */
- msdos_smap /* smap */
+ fat_smap /* smap */
};
/* For other with larger and unaligned file system */
struct file_operations umsdos_file_operations_no_bmap = {
@@ -102,7 +102,7 @@
NULL, /* readdir - bad */
NULL, /* select - default */
NULL, /* ioctl - default */
- msdos_mmap, /* mmap */
+ fat_mmap, /* mmap */
NULL, /* no special open is needed */
NULL, /* release */
file_fsync /* fsync */
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