# File lib/fuse/rfusefs-fuse.rb, line 348 def flush(ctx,path,ffi) return wrap_context(ctx,__method__,path,ffi) if ctx fh = ffi.fh if fh && !fh.raw && fh.modified? #write contents to the file and mark it unmodified @root.write_to(path,fh.flush()) #if it was created with mknod it now exists in the filesystem... @created_files.delete(path) end end