diff options
author | 2014-08-20 07:15:33 -0700 | |
---|---|---|
committer | 2014-08-21 07:55:31 -0700 | |
commit | f6dc45c7a93a011dff6eb9b2ffda59c390c7705a (patch) | |
tree | 87b8c5b7982c6063f43015079efa172f1c4caf27 /fs/btrfs/async-thread.c | |
parent | Btrfs: fix crash on endio of reading corrupted block (diff) | |
download | linux-f6dc45c7a93a011dff6eb9b2ffda59c390c7705a.tar.gz linux-f6dc45c7a93a011dff6eb9b2ffda59c390c7705a.tar.bz2 linux-f6dc45c7a93a011dff6eb9b2ffda59c390c7705a.zip |
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>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions