You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
dm io: write error bits form long not int
write_err is an unsigned long used with set_bit() so should not be passed around as unsigned int. http://bugzilla.kernel.org/show_bug.cgi?id=10271 Signed-off-by: Alasdair G Kergon <agk@redhat.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d250dad64a
commit
4cdc1d1fa5
@@ -804,7 +804,7 @@ static void commit_callback(void *context, int success)
|
||||
* Called when the copy I/O has finished. kcopyd actually runs
|
||||
* this code so don't block.
|
||||
*/
|
||||
static void copy_callback(int read_err, unsigned int write_err, void *context)
|
||||
static void copy_callback(int read_err, unsigned long write_err, void *context)
|
||||
{
|
||||
struct dm_snap_pending_exception *pe = context;
|
||||
struct dm_snapshot *s = pe->snap;
|
||||
|
||||
Reference in New Issue
Block a user