Miao Xie
ac6a2b36f9
Btrfs: fix wrong return value of btrfs_truncate_page()
...
ret variant may be set to 0 if we read page successfully, but it might be
released before we lock it again. On this case, if we fail to allocate a
new page, we will return 0, it is wrong, fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
2012-12-16 20:46:20 -05:00
..
2012-12-16 20:46:15 -05:00
2012-12-12 17:15:27 -05:00
2012-12-16 20:46:13 -05:00
2012-12-12 17:15:40 -05:00
2012-12-12 17:15:24 -05:00
2012-12-16 20:46:12 -05:00
2012-12-12 17:15:28 -05:00
2012-12-12 17:15:41 -05:00
2012-12-12 17:15:41 -05:00
2012-12-16 20:46:12 -05:00
2012-12-12 17:15:28 -05:00
2012-12-12 17:15:40 -05:00
2012-12-12 17:15:34 -05:00
2012-12-16 20:46:18 -05:00
2012-12-12 17:15:21 -05:00
2012-12-16 20:46:20 -05:00
2012-12-16 20:46:17 -05:00
2012-12-11 13:31:31 -05:00
2012-12-16 20:46:20 -05:00
2012-12-16 20:46:11 -05:00
2012-12-16 20:46:06 -05:00
2012-12-12 17:15:41 -05:00
2012-12-12 17:15:19 -05:00
2012-12-11 13:31:38 -05:00
2012-12-12 17:15:38 -05:00
2012-12-12 17:15:43 -05:00
2012-12-12 17:15:28 -05:00
2012-12-16 20:46:14 -05:00
2012-12-16 20:46:11 -05:00
2012-12-16 20:46:08 -05:00
2012-12-11 13:31:31 -05:00
2012-12-12 17:15:22 -05:00
2012-12-16 20:46:13 -05:00
2012-12-12 17:15:42 -05:00
2012-12-16 20:46:15 -05:00