commit | f6dc45c7a93a011dff6eb9b2ffda59c390c7705a | [log] [tgz] |
---|---|---|
author | Chris Mason <clm@fb.com> | Wed Aug 20 07:15:33 2014 -0700 |
committer | Chris Mason <clm@fb.com> | Thu Aug 21 07:55:31 2014 -0700 |
tree | 87b8c5b7982c6063f43015079efa172f1c4caf27 | |
parent | 38c1c2e44bacb37efd68b90b3f70386a8ee370ee [diff] |
Btrfs: fix filemap_flush call in btrfs_file_release We should only be flushing on close if the file was flagged as needing it during truncate. I broke this with my ordered data vs transaction commit deadlock fix. Thanks to Miao Xie for catching this. Signed-off-by: Chris Mason <clm@fb.com> Reported-by: Miao Xie <miaox@cn.fujitsu.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com>