filp = fget(fd); if (!filp)
filp = fget_light(fd, &fput_needed); if (unlikely(!filp))
asmlinkage long sys_inotify_rm_watch(int fd, u32 wd){	struct file *filp;	struct inotify_device *dev;	int ret;	filp = fget(fd);	if (!filp)		return -EBADF;	dev = filp->private_data;	ret = inotify_ignore(dev, wd);	fput(filp);	return ret;}