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>
This commit is contained in:
parent
55513dcec5
commit
9bdd6c98eb
Loading…
Reference in New Issue