From: Linus Torvalds Date: Fri, 7 Jul 2023 02:01:38 +0000 (-0700) Subject: Merge tag 'v6.5/vfs.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs X-Git-Tag: v6.5-rc1~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7fdeb23f32d6843c34ad1a4200d04069ff339906;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'v6.5/vfs.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs Pull vfs fixes from Christian Brauner: "This contains two minor fixes for Jan's rename locking work: - Unlocking the source inode was guarded by a check whether source was non-NULL. This doesn't make sense because source must be non-NULL and the commit message explains in detail why - The lock_two_nondirectories() helper called WARN_ON_ONCE() and dereferenced the inodes unconditionally but the underlying lock_two_inodes() helper and the kernel documentation for that function are clear that it is valid to pass NULL arguments, so a non-NULL check is needed. No callers currently pass NULL arguments but let's not knowingly leave landmines around" * tag 'v6.5/vfs.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: fs: don't assume arguments are non-NULL fs: no need to check source --- 7fdeb23f32d6843c34ad1a4200d04069ff339906