Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

NFS: remove the delegation == NULL check in nfs_end_delegation_return

All callers now pass a non-NULL delegation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>

authored by

Christoph Hellwig and committed by
Anna Schumaker
438c3e47 2bd7ebcf

-3
-3
fs/nfs/delegation.c
··· 571 571 unsigned int mode = O_WRONLY | O_RDWR; 572 572 int err = 0; 573 573 574 - if (delegation == NULL) 575 - return 0; 576 - 577 574 /* Directory delegations don't require any state recovery */ 578 575 if (!S_ISREG(inode->i_mode)) 579 576 goto out_return;