patch-2.3.48 linux/fs/umsdos/rdir.c
Next file: linux/fs/vfat/namei.c
Previous file: linux/fs/umsdos/inode.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Sat Feb 26 20:33:43 2000
- Orig file:
v2.3.47/linux/fs/umsdos/rdir.c
- Orig date:
Thu Feb 10 17:11:19 2000
diff -u --recursive --new-file v2.3.47/linux/fs/umsdos/rdir.c linux/fs/umsdos/rdir.c
@@ -218,23 +218,20 @@
* have a "r" prefix (r for real) such as UMSDOS_rlookup, to differentiate
* from the one with full UMSDOS semantics.
*/
-static struct file_operations umsdos_rdir_operations =
+struct file_operations umsdos_rdir_operations =
{
- read: dummy_dir_read,
+ read: generic_read_dir,
readdir: UMSDOS_rreaddir,
ioctl: UMSDOS_ioctl_dir,
};
struct inode_operations umsdos_rdir_inode_operations =
{
- &umsdos_rdir_operations, /* default directory file-ops */
- msdos_create, /* create */
- UMSDOS_rlookup, /* lookup */
- NULL, /* link */
- msdos_unlink, /* unlink */
- NULL, /* symlink */
- msdos_mkdir, /* mkdir */
- UMSDOS_rrmdir, /* rmdir */
- NULL, /* mknod */
- msdos_rename, /* rename */
+ create: msdos_create,
+ lookup: UMSDOS_rlookup,
+ unlink: msdos_unlink,
+ mkdir: msdos_mkdir,
+ rmdir: UMSDOS_rrmdir,
+ rename: msdos_rename,
+ setattr: UMSDOS_notify_change,
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)