VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Mikulas Patocka <mikulas@twibright.com> 2015-07-09 18:05:15 +0200 committer: Linus Torvalds <torvalds@linux-foundation.org> 2015-07-09 11:42:21 -0700 commit: 9abea2d64ce93b6909de7f83a7f681f572369708 parent: 6f957724b94cb19f5c1c97efd01dd4df8ced323c
Commit Summary:
ioctl_compat: handle FITRIM
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/fs/jfs/ioctl.c b/fs/jfs/ioctl.c
index 93a1232894f6..8db8b7d61e40 100644
--- a/fs/jfs/ioctl.c
+++ b/fs/jfs/ioctl.c
@@ -180,9 +180,6 @@ long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 	case JFS_IOC_SETFLAGS32:
 		cmd = JFS_IOC_SETFLAGS;
 		break;
-	case FITRIM:
-		cmd = FITRIM;
-		break;
 	}
 	return jfs_ioctl(filp, cmd, arg);
 }