ceph: don't clobber i_max_offset on already complete dir
authorSage Weil <sage@newdream.net>
Fri, 16 Apr 2010 19:58:02 +0000 (12:58 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:27 +0000 (15:25 -0700)
commit1b7facc41b42c2ab904b2f88b64b1f8ca0ca6cb7
tree43203661dfe2675979e32a477d598d0f7559c8ee
parente8a7498715181ece36130335536e13733a5c3187
ceph: don't clobber i_max_offset on already complete dir

This can screw up offsets assigned to new dentries and break dcache
readdir results.

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