patch-2.1.79 linux/fs/fat/dir.c

Next file: linux/fs/fat/fatfs_syms.c
Previous file: linux/fs/fat/cvf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/fs/fat/dir.c linux/fs/fat/dir.c
@@ -434,6 +434,11 @@
 				    vfat_ioctl_fill, NULL, 1, 0, 1);
 	}
 	default:
+		/* forward ioctl to CVF extension */
+	       if(MSDOS_SB(inode->i_sb)->cvf_format
+	          &&MSDOS_SB(inode->i_sb)->cvf_format->cvf_dir_ioctl)
+	              return MSDOS_SB(inode->i_sb)->cvf_format->
+	                        cvf_dir_ioctl(inode,filp,cmd,arg);
 		return -EINVAL;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov