ceph: set dn offset when spliced
authorSage Weil <sage@newdream.net>
Tue, 4 May 2010 05:08:02 +0000 (22:08 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:28 +0000 (15:25 -0700)
We want to assign an offset when the dentry goes from null to linked, which
is always done by splice_dentry().  Notably, we should NOT assign an
offset when a dentry is first created and is still null.

BUG if we try to splice a non-null dentry (we shouldn't).

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found