From: Jeff Layton Date: Fri, 22 Oct 2010 18:52:29 +0000 (-0400) Subject: cifs: eliminate cifsInodeInfo->write_behind_rc (try #6) X-Git-Tag: v2.6.37-rc1~39^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4b756b1e60b66e54932619088b645c712414a3;p=pandora-kernel.git cifs: eliminate cifsInodeInfo->write_behind_rc (try #6) write_behind_rc is redundant and just adds complexity to the code. What we really want to do instead is to use mapping_set_error to reset the flags on the mapping when we find a writeback error and can't report it to userspace yet. For cifs_flush and cifs_fsync, we shouldn't reset the flags since errors returned there do get reported to userspace. Signed-off-by: Jeff Layton Reviewed-by: Suresh Jayaraman Reviewed-by: Dave Kleikamp Signed-off-by: Steve French --- Reading git-diff-tree failed