summaryrefslogtreecommitdiff
path: root/fs/jffs2/scan.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2010-10-07 18:01:44 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 01:06:22 +0100
commit81cfc9f1f4ad8d335367bb393bd042cc45b00047 (patch)
tree9ba0193e5ba52abe543b12cde711fc061043ad76 /fs/jffs2/scan.c
parent733daa52b8d358e7c18be7fb9f82afc0619408f4 (diff)
downloadlinux-rpi3-81cfc9f1f4ad8d335367bb393bd042cc45b00047.tar.gz
linux-rpi3-81cfc9f1f4ad8d335367bb393bd042cc45b00047.tar.bz2
linux-rpi3-81cfc9f1f4ad8d335367bb393bd042cc45b00047.zip
jffs2: Fix serious write stall due to erase
Drop the alloc_sem before erasing flash in jffs2_garbage_collect_pass(). Otherwise writes are put on hold until the erase has finised. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/scan.c')
0 files changed, 0 insertions, 0 deletions