Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b272d4f authored by Jens Axboe's avatar Jens Axboe
Browse files

sg: fix odd style (extra parenthesis) introduced by cmd filter patch

parent 07359fc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -679,7 +679,7 @@ sg_new_write(Sg_fd *sfp, struct file *file, const char __user *buf,
		sg_remove_request(sfp, srp);
		return -EFAULT;
	}
	if (read_only && (!blk_verify_command(file, cmnd))) {
	if (read_only && !blk_verify_command(file, cmnd)) {
		sg_remove_request(sfp, srp);
		return -EPERM;
	}