Trond Myklebust <Trond.Myklebust@netapp.com> wrote:> + nfs_inode_set_delegation(inode, cred, res);> + }> +out:> + rcu_read_unlock();> }I think this is wrong. nfs_inode_set_delegation() may sleep as it callskmalloc() with GFP_KERNEL - but you still have the RCU read lock held. Ithink you need to drop the RCU read lock before calling it.David