diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-09-22 10:13:28 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-09-22 10:13:28 +1000 |
commit | 1a3f0c95634e670a03bb475c8f2b85d812c5434e (patch) | |
tree | b6063d64ee71998f861083dbb6eb42ed67d0ebff /fs | |
parent | 8d91b21fdc8236cbdfbf7b1d10c6f1714e72e2ad (diff) | |
parent | 42857cf512cb34c2c8cb50f1e766689d979d64e0 (diff) |
Merge remote-tracking branch 'configfs/for-next'
Diffstat (limited to 'fs')
-rw-r--r-- | fs/configfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/configfs/file.c b/fs/configfs/file.c index c30cf49b69d2..2c6312db8516 100644 --- a/fs/configfs/file.c +++ b/fs/configfs/file.c @@ -333,6 +333,7 @@ configfs_write_bin_file(struct file *file, const char __user *buf, if (bin_attr->cb_max_size && *ppos + count > bin_attr->cb_max_size) { len = -EFBIG; + goto out; } tbuf = vmalloc(*ppos + count); |