mei: implement fsync
authorAlexander Usyskin <alexander.usyskin@intel.com>
Mon, 20 Mar 2017 13:04:06 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:38:25 +0000 (17:38 +0200)
commit58cde1a64c5e140e6ba498aaa406e063957e35df
tree716a3eb5e6214680435fc3d7030e91eab5dcb447
parentdd04eecc41ae7cf139593b400e74defad62cec54
mei: implement fsync

When write() returns successfully, it is only assumed that a message
was successfully queued. Add fsync syscall implementation to help
user-space ensure that all data is written.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/main.c