summaryrefslogtreecommitdiff
path: root/fs/ubifs/io.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-05-27 12:24:39 (GMT)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-05-28 08:10:09 (GMT)
commitba6a7d55634b9ddf119216faef55f2463b17d60b (patch)
tree38168863021d503094ec8f5d7527527e11bfed76 /fs/ubifs/io.c
parenta0fd59511e0a0514d24044a29da0f6144f8600e5 (diff)
downloadlinux-ba6a7d55634b9ddf119216faef55f2463b17d60b.tar.xz
UBIFS: fix debugging check
The debugging check which verifies that we never write outside of the file length was incorrect, since it was multiplying file length by the page size, instead of dividing. Fix this. Spotted-by: hujianyang <hujianyang@huawei.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/io.c')
0 files changed, 0 insertions, 0 deletions