commit | dd20908a8a06b22c171f6c3fcdbdbd65bed07505 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 14 10:56:20 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 01 23:19:11 2014 -0400 |
tree | 447e2df881b2f056608098d3b24ab6d9734ce992 | |
parent | 44ba8406d0005400e56c6b6a279a669eb761d1b8 [diff] |
don't bother with {get,put}_write_access() on non-regular files it's pointless and actually leads to wrong behaviour in at least one moderately convoluted case (pipe(), close one end, try to get to another via /proc/*/fd and run into ETXTBUSY). Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>