Whamcloud - gitweb
LU-560 Fixup intent status on ENOENT in mdt_intent_reint
authorJohn Hammond <jhammond@tacc.utexas.edu>
Mon, 1 Aug 2011 15:28:48 +0000 (10:28 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Aug 2011 00:48:21 +0000 (20:48 -0400)
commitd29b83dace8382680ee2e9d03f7f94ca62301fa2
treeac8099bcb107801e51001916d29f4db55d91de6d
parent105cb937862cc9b62238684bfd10fb9878e67e86
LU-560 Fixup intent status on ENOENT in mdt_intent_reint

Clear -ENOENT from rep->lock_policy_res2 for non existent files so
that clients may cache negative dentries if they hold
MDS_INODELOCK_UPDATE on the parent directory.

Change-Id: I238f1001782923a595f9f7ee1c094d53ab1422ae
Signed-off-by: John Hammond <jhammond@tacc.utexas.edu>
Reviewed-on: http://review.whamcloud.com/1173
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c