diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-07 05:01:38 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-07 05:01:38 +0300 |
commit | 7fdeb23f32d6843c34ad1a4200d04069ff339906 (patch) | |
tree | 9cd7739225febe3f18349131fe1fd2c020978fdf /drivers/watchdog/retu_wdt.c | |
parent | a452483508d7b70b0f6c69e249ec0b3ea2330b5c (diff) | |
parent | 33ab231f83cc12d0157711bbf84e180c3be7d7bc (diff) | |
download | linux-7fdeb23f32d6843c34ad1a4200d04069ff339906.tar.xz |
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
Diffstat (limited to 'drivers/watchdog/retu_wdt.c')
0 files changed, 0 insertions, 0 deletions