From: Al Viro Date: Fri, 14 Mar 2014 14:56:20 +0000 (-0400) Subject: don't bother with {get,put}_write_access() on non-regular files X-Git-Tag: v3.15-rc1~16^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd20908a8a06b22c171f6c3fcdbdbd65bed07505;p=pandora-kernel.git 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 --- Reading git-diff-tree failed