diff options
author | Eric Van Hensbergen <[email protected]> | 2008-06-24 17:39:39 -0500 |
---|---|---|
committer | Eric Van Hensbergen <[email protected]> | 2008-07-03 09:59:03 -0500 |
commit | 2e4bef41a0f7df31be140ef354b9c12f2299016a (patch) | |
tree | 6ddea6aa929a5f49a4e815a3bfe21f04177dc69e /net/unix/garbage.c | |
parent | c461a973118346d5c103aaaddd62e53939fd7c67 (diff) |
9p: fix O_APPEND in legacy mode
The legacy protocol's open operation doesn't handle an append operation
(it is expected that the client take care of it). We were incorrectly
passing the extended protocol's flag through even in legacy mode. This
was reported in bugzilla report #10689. This patch fixes the problem
by disallowing extended protocol open modes from being passed in legacy
mode and implemented append functionality on the client side by adding
a seek after the open.
Signed-off-by: Eric Van Hensbergen <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions