@Override void recordModification(int latestSnapshotId) { if (isInLatestSnapshot(latestSnapshotId)) { INodeDirectory parent = getParent(); parent.saveChild2Snapshot(this, latestSnapshotId, new INodeSymlink(this)); } }
@Override INode recordModification(Snapshot latest, final INodeMap inodeMap) throws QuotaExceededException { if (isInLatestSnapshot(latest)) { INodeDirectory parent = getParent(); parent.saveChild2Snapshot(this, latest, new INodeSymlink(this), inodeMap); } return this; }