patch-2.1.31 linux/fs/affs/file.c
Next file: linux/fs/autofs/Makefile
Previous file: linux/fs/Makefile
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Wed Apr 2 17:43:22 1997
- Orig file:
v2.1.30/linux/fs/affs/file.c
- Orig date:
Sun Jan 26 02:07:24 1997
diff -u --recursive --new-file v2.1.30/linux/fs/affs/file.c linux/fs/affs/file.c
@@ -42,7 +42,7 @@
static long affs_file_write_ofs(struct inode *inode, struct file *filp, const char *buf,
unsigned long count);
static int affs_open_file(struct inode *inode, struct file *filp);
-static void affs_release_file(struct inode *inode, struct file *filp);
+static int affs_release_file(struct inode *inode, struct file *filp);
static struct file_operations affs_file_operations = {
NULL, /* lseek - default */
@@ -883,7 +883,7 @@
return error;
}
-static void
+static int
affs_release_file(struct inode *inode, struct file *filp)
{
struct affs_zone *zone;
@@ -913,4 +913,5 @@
}
}
unlock_super(inode->i_sb);
+ return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov