summaryrefslogtreecommitdiff
path: root/compiler.h
AgeCommit message (Expand)AuthorFilesLines
2015-02-17compiler: Protect against redefinition of offsetof()Tobias Klauser1-4/+6
2015-02-06Initial import, still work in progressTobias Klauser1-0/+43
ct>space:mode:
authorJan Kara <jack@suse.cz>2016-02-11 23:15:12 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-02-11 23:15:12 -0500
commit05145bd799e498ce4e3b5145894174ee881f02b0 (patch)
treeabcedec57a068d5f586ac4c6d16c7629ffca07db /fs/ext4/ialloc.c
parentff978b09f973db0d0597704eba350a994d7729e6 (diff)
ext4: fix scheduling in atomic on group checksum failure
When block group checksum is wrong, we call ext4_error() while holding group spinlock from ext4_init_block_bitmap() or ext4_init_inode_bitmap() which results in scheduling while in atomic. Fix the issue by calling ext4_error() later after dropping the spinlock. CC: stable@vger.kernel.org Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/ext4/ialloc.c')