diff --git a/[refs] b/[refs] index b2661a5744ef..229dc237317b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ea0ded748bdea78f9e2fefb571f7d6ce9edb4f89 +refs/heads/master: 9e2dfdb3081edfae66a49013517e80dd8a0469fa diff --git a/trunk/fs/nfs/pnfs.c b/trunk/fs/nfs/pnfs.c index 730d4dbbaf68..539b94cb6c0f 100644 --- a/trunk/fs/nfs/pnfs.c +++ b/trunk/fs/nfs/pnfs.c @@ -652,6 +652,8 @@ _pnfs_return_layout(struct inode *ino) lrp = kzalloc(sizeof(*lrp), GFP_KERNEL); if (unlikely(lrp == NULL)) { status = -ENOMEM; + set_bit(NFS_LAYOUT_RW_FAILED, &lo->plh_flags); + set_bit(NFS_LAYOUT_RO_FAILED, &lo->plh_flags); put_layout_hdr(lo); goto out; }