iput handles NULL pointers gracefully, so there's no need to
check the pointer before the call.
Signed-off-by: Yi Li
---
fs/ocfs2/super.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 2febc76e9de7..079f8826993e 100644
--- a/fs/ocfs2/super.c
1: ext4_iget/ext4_find_extent never returns NULL, use IS_ERR
instead of IS_ERR_OR_NULL to fix this.
2: ext4_fc_replay_inode should set the inode to NULL when IS_ERR.
and go to call iput properly.
Signed-off-by: Yi Li
---
fs/ext4/fast_commit.c | 23 ---
1 file changed, 12
There is no need to reassign pdev_set_uuid in the second loop iteration,
so move it to the place before second loop.
Signed-off-by: Yi Li
---
drivers/md/bcache/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c
index
there no need to do bdput.
remove a superfluous check the bdev & don't call bdput after lookup_bdev.
Fixes: 4e7b5671c6a8("block: remove i_bdev")
Signed-off-by: Yi Li
---
drivers/md/bcache/super.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/md/bcache/super.c b/
Trivial fix to no need to check the bdev and do bdput.
Fixes: 4e7b5671c6a8("block: remove i_bdev")
Signed-off-by: Yi Li
---
drivers/md/bcache/super.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c
index f7ad1e26b013..4e
Trivial fix to bdput.
Signed-off-by: Yi Li
---
drivers/md/bcache/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c
index f7ad1e26b013..1756f6926098 100644
--- a/drivers/md/bcache/super.c
+++ b/drivers/md/bcache
The UUID room will be exhausted fake when loop attach/dettach backing dev.
Using zero_uuid to the UUID room after dettach normaly.
And attach dev can request UUID room successfully.
Signed-off-by: Yi Li
Signed-off-by: Li bing
---
drivers/md/bcache/super.c | 20 +---
1 file
b0
[] worker_thread+0x2a5/0x470
[] ? __schedule+0x648/0x870
[] ? rescuer_thread+0x300/0x300
[] kthread+0xd5/0xe0
[] ? kthread_stop+0x110/0x110
[] ret_from_fork+0x3f/0x70
[] ? kthread_stop+0x110/0x110
Reported-by: Guo Chao
Signed-off-by: Yi Li
---
drivers/md/bcache/super.c | 1
On 12/3/20, Coly Li wrote:
> On 12/3/20 5:47 PM, Yi Li wrote:
>> bcache_device_detach will release the cache_set after hotunplug cache
>> disk.
>>
>> Here is how the issue happens.
>> 1) cached_dev_free do cancel_writeback_rate_update_dwork
>>witho
881714e80
Call Trace:
[] process_one_work+0x1fc/0x3b0
[] worker_thread+0x2a5/0x470
[] ? __schedule+0x648/0x870
[] ? rescuer_thread+0x300/0x300
[] kthread+0xd5/0xe0
[] ? kthread_stop+0x110/0x110
[] ret_from_fork+0x3f/0x70
[] ? kthread_stop+0x110/0x110
Reported-by: Guo Chao
S
.
(it is introduce by patch 80265d8dfd77792e133793cef44a21323aac2908)
pls:
1: run the shell script
#!/bin/bash
while [ true ]
do
echo 0 > /sys/block/bcache0/bcache/writeback_percent
done
2: hotplug the cache disk
On 12/3/20, Coly Li wrote:
> On 12/3/20 2:25 PM, Yi Li wrote:
>&
> On 12/1/20 12:35 PM, Yi Li wrote:
>> sorry, This patch will cause deadlock, i will check and redo it.
>
> Can you try latest upstream kernel firstly ? Before spending more time
> on the fix.
>
This issue just happened three times (xenserver7.5 dom0 kernel) on the
sa
sorry, This patch will cause deadlock, i will check and redo it.
On 11/30/20, Yi Li wrote:
> bcache_device_detach will release the cache_set after hotunplug cache
> disk. update_writeback_rate should check validate of cache_set.
>
> IP: [] update_writeback_rate+0x59/0x3a0 [bca
[] ? rescuer_thread+0x300/0x300
[] kthread+0xd5/0xe0
[] ? kthread_stop+0x110/0x110
[] ret_from_fork+0x3f/0x70
[] ? kthread_stop+0x110/0x110
Reported-by: Guo Chao
Signed-off-by: Guo Chao
Signed-off-by: Yi Li
---
drivers/md/bcache/writeback.c | 12 +++-
1 file changed, 11 insertions(+), 1
No functional changes, just minor refactoring.
Signed-off-by: Yi Li
---
net/core/dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 82dc6b48e45f..9e7f071b846c 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3206,7 +3206,7 @@ int
Trivial fix to use func skb_is_gso in place of
test for skb_shinfo(skb)->gso_size.
Signed-off-by: Yi Li
---
net/core/dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 9499a414d67e..55f66e108059 100644
--- a/net/core/dev.c
+++ b/
(!skb_is_gso(skb))
Signed-off-by: Yi Li
---
drivers/net/ethernet/atheros/atlx/atl1.c | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c| 2 +-
drivers/net/ethernet/cavium/liquidio/lio_main.c| 2 +-
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c | 2 +-
There is no need to calculate wildcard in each loop
since wildcard is not changed.
Signed-off-by: Yi Li
---
virt/kvm/eventfd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c
index d6408bb497dc..c2323c27a28b 100644
--- a/virt/kvm
Remove duplicate include file
Signed-off-by: Yi Li
---
arch/arm/mm/mmu.c | 1 -
mm/slab.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index c36f977b2ccb..7bbcdb29413e 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -34,7 +34,6
It is useless.
The original code just tell some error info. and don't show errorcode
On 8/29/20, Yi Li wrote:
> use rc for error code.
>
> Signed-off-by: Yi Li
> ---
> drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 dele
use rc for error code.
Signed-off-by: Yi Li
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
index 1426c691c7c4
ng the checksum in software.
Reported-by: Li Bing
Signed-off-by: Yi Li
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
From: Yi Li
This patch introduces the use of the macro IS_ERR_OR_NULL in place of
tests for NULL and IS_ERR.
The following Coccinelle semantic patch was used for making the change:
@@
expression e;
@@
- !e || IS_ERR(e)
+ IS_ERR_OR_NULL(e)
|| ...
Signed-off-by: Yi Li
---
tools/perf/util
From: Yi Li
mount.ocfs2 failed when read ocfs2 filesystem super error.
the func ocfs2_initialize_super will return before allocate ocfs2_wq.
ocfs2_dismount_volume will triggered the following panic.
Oct 15 16:09:27 cnwarekv-205120 kernel: On-disk corruption
discovered.Please run fsck.ocfs2
From: Yi Li
mount.ocfs2 failed when read ocfs2 filesystem super error.
the func ocfs2_initialize_super will return before allocate ocfs2_wq.
ocfs2_dismount_volume will triggered the following panic.
Oct 15 16:09:27 cnwarekv-205120 kernel: On-disk corruption
discovered.Please run fsck.ocfs2
+0x17f/0x1c0
mount_fs+0x3a/0x160
Signed-off-by: Yi Li
---
fs/ocfs2/localalloc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c
index 158e5af..943e5c3 100644
--- a/fs/ocfs2/localalloc.c
+++ b/fs/ocfs2/localalloc.c
@@ -377,7 +377,9
hi Anatolij
On 04/21/2017 04:14 PM, Li, Yi wrote:
On 4/20/2017 12:29 PM, matthew.gerl...@linux.intel.com wrote:
On Thu, 20 Apr 2017, Anatolij Gustschin wrote:
Add FPGA manager driver for loading Arria/Cyclone/Stratix
FPGAs via CvP.
Signed-off-by: Anatolij Gustschin
---
Hi Anatolij,
S
From: Yi Li
Fix support mcelog/stub in Kconfig for Xen X86 platform
Signed-off-by: Yi Li
---
drivers/xen/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index b812462..83ae68a 100644
--- a/drivers/xen/Kconfig
+++ b
specfication. If ARM64 hopes to enter server
market, then SMBIOS needs to support on ARM64, and it has been included
as one important section in SBBR document from ARM.
This has been tested by dmidecode and lshw tools.
Signed-off-by: Yi Li
---
Changes since v1:
-Followed Ard Biesheuvel
Hi Mark,
Please see the comments below:
On Wednesday, June 04, 2014 09:32 PM, Mark Rutland wrote:
On Tue, Jun 03, 2014 at 04:57:13PM +0100, Yi Li wrote:
Add smbios/dmi support on arm64 system, it depends on
EFI boot.
And what exactly does this provide us with?
What is exposed through
Add smbios/dmi support on arm64 system, it depends on
EFI boot.
Signed-off-by: Yi Li
---
Changes since v1:
-Followed Ard Biesheuvel's suggestion to rebase the patch on
Matt Fleming's arm64-efi branch.
arch/arm64/Kconfig | 10 ++
arch/arm64/include/asm/dm
From: liyi
x86 and IA64 have the DMI support, which is useful for supporting
SMBIOS specification. All these SMBIOS tables will give the hardware
information for user or applications.
This patch depends on EFI runtime service function which
not yet upstreamed, it has been generated against the t
From: liyi
Add dmi driver support on arm, it depends on efi runtime service
enabled.
Signed-off-by: liyi
---
arch/arm/Kconfig |9 +
arch/arm/include/asm/dmi.h | 12
arch/arm/kernel/setup.c|7 ++-
3 files changed, 27 insertions(+), 1 deletion(-)
SGI has made available the pre-release version 0.9 of its high-end XFS file
system ported to Linux®. Code and detailed information are at
http://oss.sgi.com/projects/xfs/prerelease.html.
Thanks to the extensive interest and contributions from the community, the
XFS file system for Linux has made
34 matches
Mail list logo