summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorTeresa Remmet <t.remmet@phytec.de>2016-11-25 09:06:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-11 08:06:48 +0100
commit9bdd6c98ebf21a6188ad9f2a6b98ed0edde7da00 (patch)
tree4493b4d9f5e973ef5656205e6435dd6b9e243bc1 /commands
parent55513dcec567c760fad4daadb3805983a3626d27 (diff)
downloadbarebox-9bdd6c98ebf21a6188ad9f2a6b98ed0edde7da00.tar.gz
barebox-9bdd6c98ebf21a6188ad9f2a6b98ed0edde7da00.tar.xz
fs: Remove O_TRUNC check for devices when open files
Don't check for the file type here. Devices may have truncate callbacks. Otherwise the caller should check if O_TRUNC is possible. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions