summaryrefslogtreecommitdiff
path: root/fs/fat/Makefile
diff options
context:
space:
mode:
authortao.ma@oracle.com <tao.ma@oracle.com>2007-09-06 08:02:25 +0800
committerMark Fasheh <mark.fasheh@oracle.com>2007-09-11 11:39:05 -0700
commit30b8548f2c270c0205558fe4826a6ab8e7fe51ad (patch)
tree7c5756dba9c62813cab4aa01b8d42305cb4d41f6 /fs/fat/Makefile
parentc0123adef626607535f3c2c93b530c36780885e0 (diff)
downloadlinux-3.10-30b8548f2c270c0205558fe4826a6ab8e7fe51ad.tar.gz
linux-3.10-30b8548f2c270c0205558fe4826a6ab8e7fe51ad.tar.bz2
linux-3.10-30b8548f2c270c0205558fe4826a6ab8e7fe51ad.zip
[PATCH] ocfs2: Fix a wrong cluster calculation.
In ocfs2_alloc_write_write_ctxt, the written clusters length is calculated by the byte length only. This may cause some problems if we start to write at some position in the end of one cluster and last to a second cluster while the "len" is smaller than a cluster size. In that case, we have to write 2 clusters actually. So we have to take the start position into consideration also. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/fat/Makefile')
0 files changed, 0 insertions, 0 deletions