aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2010-10-15 15:34:07 -0400
committerSteve French <[email protected]>2010-10-25 00:18:59 +0000
commitd3f1322af8f866be54ea79a4002fc30c98290411 (patch)
treeb043a2c269a0e2b8b64c34644dfe8586f114ead9 /net/unix/sysctl_net_unix.c
parent5f6dbc9e4afe4d1d39e85de3ac2720a2042ad191 (diff)
cifs: wait for writeback to complete in cifs_flush
The f_op->flush operation is the last chance to return a writeback related error when closing a file. Ensure that we don't miss reporting any errors by waiting for writeback to complete in cifs_flush before proceeding. There's no reason to do this when the file isn't open for write however. Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Suresh Jayaraman <[email protected]> Reviewed-by: David Kleikamp <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions