summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-09-19 14:09:51 +0200
committerStefan Agner <stefan.agner@toradex.com>2014-10-28 14:42:35 +0100
commit88ffc75a690481a20bf8dd2b864f3ba91a698532 (patch)
treed96581eb47712c03b0b015eabe250ad2a781e28c /Makefile
parent5fc897d5626f59d7fcda45d41401f0baaf558c1f (diff)
yaffs: fix spinning when flush inodes
While in list_for_each_entry() of yaffs_flush_inodes, the fs code can delete inodes. This leads to an endless loop which causes a softlockup. Typically this happend in sync_supers when creating and deleting files while under CPU load. This fix checks whether we get twice the same inode. If this is true, we just retry again. This is an alternative fix to the proposed fix Jisheng Zhang: yaffs: fix softlockup cauesed by inode deleted when scanning s_inodes list http://www.aleph1.co.uk/lurker/message/20110831.075307.3cfeacdf.fr.html
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions