patch-2.3.48 linux/fs/msdos/namei.c

Next file: linux/fs/ncpfs/dir.c
Previous file: linux/fs/minix/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/fs/msdos/namei.c linux/fs/msdos/namei.c
@@ -585,16 +585,13 @@
 
 /* The public inode operations for the msdos fs */
 struct inode_operations msdos_dir_inode_operations = {
-	&fat_dir_operations,	/* default directory file-ops */
-	msdos_create,		/* create */
-	msdos_lookup,		/* lookup */
-	NULL,			/* link */
-	msdos_unlink,		/* unlink */
-	NULL,			/* symlink */
-	msdos_mkdir,		/* mkdir */
-	msdos_rmdir,		/* rmdir */
-	NULL,			/* mknod */
-	msdos_rename,		/* rename */
+	create:		msdos_create,
+	lookup:		msdos_lookup,
+	unlink:		msdos_unlink,
+	mkdir:		msdos_mkdir,
+	rmdir:		msdos_rmdir,
+	rename:		msdos_rename,
+	setattr:	fat_notify_change,
 };
 
 static void msdos_put_super_callback(struct super_block *sb)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)