Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/selinux into for-linus

This commit is contained in:
James Morris 2015-03-27 20:33:27 +11:00
commit 641628146c

View File

@ -152,7 +152,7 @@ static ssize_t sel_write_enforce(struct file *file, const char __user *buf,
goto out;
/* No partial writes. */
length = EINVAL;
length = -EINVAL;
if (*ppos != 0)
goto out;