If it fails to read a shared xattr page, the inode's shared xattr array
is not freed. The next time the inode's xattr is accessed, the previously
allocated array is leaked.
Signed-off-by: Sheng Yong
---
v2: * s/node/inode in commit message
* add prefix `staging:' to the subje
If it fails to read a shared xattr page, the node's shared xattr array
is not freed. The next time the node's xattr is accessed, the previously
allocated array is leaked.
Signed-off-by: Sheng Yong
---
drivers/staging/erofs/xattr.c | 5 -
1 file changed, 4 insertions(+), 1 deletio
For value which has size_t type, use %zu to avoid compile warning of
printk format.
Signed-off-by: Sheng Yong
---
drivers/staging/fbtft/fbtft-core.c | 2 +-
drivers/staging/fbtft/fbtft-io.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/fbtft/fbtft