]> git.itanic.dy.fi Git - linux-stable/commit
NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests
authorDave Wysochanski <dwysocha@redhat.com>
Sun, 10 Oct 2021 22:23:13 +0000 (18:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2022 10:39:42 +0000 (12:39 +0200)
commita68a734b19afc8683238a176c8e088c0f9e6c7b9
tree1e621913e60fda38d6d3d83c55dc5d0fa4293915
parentdd20085f2a88b6cdb12bdcdbd2d7a761c86b184a
NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests

commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d upstream.

Fixes the following WARN_ON
WARNING: CPU: 2 PID: 18678 at fs/nfs/inode.c:123 nfs_clear_inode+0x3b/0x50 [nfs]
...
Call Trace:
  nfs4_evict_inode+0x57/0x70 [nfsv4]
  evict+0xd1/0x180
  dispose_list+0x48/0x60
  evict_inodes+0x156/0x190
  generic_shutdown_super+0x37/0x110
  nfs_kill_super+0x1d/0x40 [nfs]
  deactivate_locked_super+0x36/0xa0

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/nfs_fs.h