Browse Source

[PATCH] nfsd4: reboot recovery fix

We need to remove the recovery directory here too.  (This chunk just got lost
somehow in the process of commuting the reboot recovery patches past the other
patches.)

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
NeilBrown 20 năm trước cách đây
mục cha
commit
463090294e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      fs/nfsd/nfs4state.c

+ 1 - 0
fs/nfsd/nfs4state.c

@@ -874,6 +874,7 @@ nfsd4_setclientid_confirm(struct svc_rqst *rqstp, struct nfsd4_setclientid_confi
 			  * change request correctly. */
 			  * change request correctly. */
 			atomic_set(&conf->cl_callback.cb_set, 0);
 			atomic_set(&conf->cl_callback.cb_set, 0);
 			gen_confirm(conf);
 			gen_confirm(conf);
+			nfsd4_remove_clid_dir(unconf);
 			expire_client(unconf);
 			expire_client(unconf);
 			status = nfs_ok;
 			status = nfs_ok;