All of lore.kernel.org
 help / color / mirror / Atom feed
* [kdave-btrfs-devel:misc-next 47/71] fs/btrfs/raid56.c:1502:5-24: atomic_dec_and_test variation before object free at line 1503.
@ 2022-06-08  1:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-08  1:09 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2250 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Christoph Hellwig <hch@lst.de>
CC: David Sterba <dsterba@suse.com>

tree:   https://github.com/kdave/btrfs-devel.git misc-next
head:   e2a46f3f73fd5aac0241242d535905286a947113
commit: 94fa5c9a0e7e708aac2464c31b6fa062dff0871e [47/71] btrfs: defer I/O completion based on the btrfs_raid_bio
:::::: branch date: 9 hours ago
:::::: commit date: 35 hours ago
config: i386-randconfig-c021 (https://download.01.org/0day-ci/archive/20220608/202206080945.WrIdHzB3-lkp(a)intel.com/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>


cocci warnings: (new ones prefixed by >>)
>> fs/btrfs/raid56.c:1502:5-24: atomic_dec_and_test variation before object free at line 1503.

vim +1502 fs/btrfs/raid56.c

53b381b3abeb86 David Woodhouse   2013-01-29  1490  
94fa5c9a0e7e70 Christoph Hellwig 2022-05-26  1491  static void raid56_bio_end_io(struct bio *bio)
53b381b3abeb86 David Woodhouse   2013-01-29  1492  {
53b381b3abeb86 David Woodhouse   2013-01-29  1493  	struct btrfs_raid_bio *rbio = bio->bi_private;
53b381b3abeb86 David Woodhouse   2013-01-29  1494  
4e4cbee93d5613 Christoph Hellwig 2017-06-03  1495  	if (bio->bi_status)
53b381b3abeb86 David Woodhouse   2013-01-29  1496  		fail_bio_stripe(rbio, bio);
53b381b3abeb86 David Woodhouse   2013-01-29  1497  	else
5fdb7afc6f94d5 Qu Wenruo         2022-04-01  1498  		set_bio_pages_uptodate(rbio, bio);
53b381b3abeb86 David Woodhouse   2013-01-29  1499  
53b381b3abeb86 David Woodhouse   2013-01-29  1500  	bio_put(bio);
53b381b3abeb86 David Woodhouse   2013-01-29  1501  
94fa5c9a0e7e70 Christoph Hellwig 2022-05-26 @1502  	if (atomic_dec_and_test(&rbio->stripes_pending))
94fa5c9a0e7e70 Christoph Hellwig 2022-05-26 @1503  		queue_work(rbio->bioc->fs_info->endio_raid56_workers,
94fa5c9a0e7e70 Christoph Hellwig 2022-05-26  1504  			   &rbio->end_io_work);
94fa5c9a0e7e70 Christoph Hellwig 2022-05-26  1505  }
53b381b3abeb86 David Woodhouse   2013-01-29  1506  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08  1:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-08  1:09 [kdave-btrfs-devel:misc-next 47/71] fs/btrfs/raid56.c:1502:5-24: atomic_dec_and_test variation before object free at line 1503 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.