X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-keyed-stream.c;h=0381aa4301e54f0a1a57771a03fabc23c367089f;hb=5d20e4fc3a9b5b9cf762e67c23f817986d802bb7;hp=3b36d6a08d20fe621a7b5a1380828c0ce24eab51;hpb=aabc934443b56e393ff21430545257c50c3d4392;p=palacios.git diff --git a/linux_module/iface-keyed-stream.c b/linux_module/iface-keyed-stream.c index 3b36d6a..0381aa4 100644 --- a/linux_module/iface-keyed-stream.c +++ b/linux_module/iface-keyed-stream.c @@ -810,8 +810,8 @@ static v3_keyed_stream_key_t open_key_file(v3_keyed_stream_t stream, fs->stype=STREAM_FILE; - fs->f = filp_open(path,O_RDWR|O_CREAT,0600); - + fs->f = filp_open(path,O_RDWR|O_CREAT|O_LARGEFILE,0600); + if (IS_ERR(fs->f)) { ERROR("cannot open relevent file \"%s\" for stream \"file:%s\" and key \"%s\"\n",path,fks->path,key); palacios_free(fs);