open: fix truncating on read only open
authorAlan Cox <alan@linux.intel.com>
Thu, 22 Sep 2016 21:50:20 +0000 (22:50 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 22 Sep 2016 21:50:20 +0000 (22:50 +0100)
commit98d272cd0d3a2445142d2f14ef7d95352fa91035
treedcda3a6f9815532c22e60904c1868bfad4e4a2bc
parent6989aaaff168ceda264a74d3164749b157cf4490
open: fix truncating on read only open

Also note another point where we need to fix up refcount handling for FIFO
nodes
Kernel/syscall_fs3.c