patch-2.0.1 linux/fs/ext2/ioctl.c

Next file: linux/fs/ext2/namei.c
Previous file: linux/fs/ext2/acl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/fs/ext2/ioctl.c linux/fs/ext2/ioctl.c
@@ -82,6 +82,6 @@
 		inode->i_dirt = 1;
 		return 0;
 	default:
-		return -EINVAL;
+		return -ENOTTY;
 	}
 }

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