]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/nfs/nfs4state.c
ipv6: AF_INET6 link address family
[net-next-2.6.git] / fs / nfs / nfs4state.c
index aa0b02a610c4d7c797691896c7e3b4c3eb35b682..f575a3126737054efa695db149c9c0f08571793d 100644 (file)
@@ -54,6 +54,7 @@
 #include "callback.h"
 #include "delegation.h"
 #include "internal.h"
+#include "pnfs.h"
 
 #define OPENOWNER_POOL_SIZE    8
 
@@ -1475,6 +1476,7 @@ static void nfs4_state_manager(struct nfs_client *clp)
                        }
                        clear_bit(NFS4CLNT_CHECK_LEASE, &clp->cl_state);
                        set_bit(NFS4CLNT_RECLAIM_REBOOT, &clp->cl_state);
+                       pnfs_destroy_all_layouts(clp);
                }
 
                if (test_and_clear_bit(NFS4CLNT_CHECK_LEASE, &clp->cl_state)) {