Trond Myklebust 27bf7a5d11 NFSv4: Fixes for nfs4_inode_return_delegation()
commit 6e176d47160cec8bcaa28d9aa06926d72d54237c upstream.

We mustn't call nfs_wb_all() on anything other than a regular file.
Furthermore, we can exit early when we don't hold a delegation.

Reported-by: David Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Thorsten Leemhuis <regressions@leemhuis.info>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-28 11:11:57 +02:00
..
2021-02-26 15:49:51 -07:00
2022-09-15 11:30:03 +02:00
2020-05-27 10:10:12 -04:00
2021-04-05 09:04:20 -04:00