Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
int do_fallocate(struct file *file, int mode, loff_t offset, loff_t len) { @@ -249,6 +254,11 @@ int do_fallocate(struct file *file, int mode, loff_t offset, loff_t len) if (ret) return ret; + /* Check for enabling _NO_HIDE_STALE flag */ + if (mode & FALLOC_FL_NO_HIDE_STALE && + !sysctl_enable_falloc_no_hide_stale) + return -EPERM; +
So such inexperienced programmers would fall on their noses.
I don't think the process in which this got through was great, but why assume the people working on this are stupid?
Copyright © 2013, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds