Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5241e43 authored by Trond Myklebust's avatar Trond Myklebust Committed by Anna Schumaker
Browse files

NFSv4.1/pnfs: Add sparse lock annotations for pnfs_find_alloc_layout

parent 67a3b721
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1298,6 +1298,8 @@ static struct pnfs_layout_hdr *
pnfs_find_alloc_layout(struct inode *ino,
		       struct nfs_open_context *ctx,
		       gfp_t gfp_flags)
	__releases(&ino->i_lock)
	__acquires(&ino->i_lock)
{
	struct nfs_inode *nfsi = NFS_I(ino);
	struct pnfs_layout_hdr *new = NULL;