]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Fix page count calculation
authorYan, Zheng <zheng.z.yan@linux.intel.com>
Tue, 18 Jan 2011 05:34:40 +0000 (13:34 +0800)
committerChris Mason <chris.mason@oracle.com>
Mon, 7 Feb 2011 19:13:51 +0000 (14:13 -0500)
commit441d8f85182b77abc84c52fca94e1dc14e17a9a9
tree3179f5e834e482cc3f782e709a53b08591416c76
parent0d7280242f40c3f2a82a15edcbdb9d820a2acabc
Btrfs: Fix page count calculation

take offset of start position into account when calculating page count.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c