ceph: clear dir complete on d_move
authorSage Weil <sage@newdream.net>
Fri, 16 Apr 2010 19:56:11 +0000 (12:56 -0700)
committerSage Weil <sage@newdream.net>
Mon, 3 May 2010 17:49:22 +0000 (10:49 -0700)
commitc10f5e12bafde7f7a2f9b75d76f7a68d62154e91
tree422e4a5898dea5fddaa4b6b73379b9ac4db230b5
parent66f41d4c5c8a5deed66fdcc84509376c9a0bf9d8
ceph: clear dir complete on d_move

d_move() reorders the d_subdirs list, breaking the readdir result caching.
Unless/until d_move preserves that ordering, clear CEPH_I_COMPLETE on
rename.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/inode.c