aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-04-03 21:12:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2025-04-03 21:12:48 -0700
commite48e99b6edf41c69c5528aa7ffb2daf3c59ee105 (patch)
tree3ebf4e669212902027b45f9fc83075d35cabfd1e /drivers
parentMerge tag 'v6.15rc-part2-ksmbd-server-fixes' of git://git.samba.org/ksmbd (diff)
parenthypfs_create_cpu_files(): add missing check for hypfs_mkdir() failure (diff)
downloadwireguard-linux-e48e99b6edf41c69c5528aa7ffb2daf3c59ee105.tar.xz
wireguard-linux-e48e99b6edf41c69c5528aa7ffb2daf3c59ee105.zip
Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull dcache fixes from Al Viro: "Fixes for bugs caught as part of tree-in-dcache work. Mostly dentry refcount mishandling" * tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: hypfs_create_cpu_files(): add missing check for hypfs_mkdir() failure qibfs: fix _another_ leak spufs: fix a leak in spufs_create_context() spufs: fix gang directory lifetimes spufs: fix a leak on spufs_new_file() failure
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/qib/qib_fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_fs.c
index b27791029fa9..b9f4a2937c3a 100644
--- a/drivers/infiniband/hw/qib/qib_fs.c
+++ b/drivers/infiniband/hw/qib/qib_fs.c
@@ -55,6 +55,7 @@ static int qibfs_mknod(struct inode *dir, struct dentry *dentry,
struct inode *inode = new_inode(dir->i_sb);
if (!inode) {
+ dput(dentry);
error = -EPERM;
goto bail;
}